Files
d9-eql/web/themes/custom/eql/librairies/glightbox-master/development/notifications.js
T
2025-05-27 15:33:47 +02:00

16 lines
317 B
JavaScript

const path = require('path');
const notifier = require('node-notifier');
function notify(title, body) {
const icon = path.join(__dirname, 'icon.png');
notifier.notify({
title: title,
message: body,
icon: icon
});
console.log(`${title}, ${body}`);
}
module.exports = notify;