electron-notification
v1.0.0
Published
Easily send desktop notifications, can be used from main and renderer processes
Downloads
37
Maintainers
Readme
electron-notification
This module simplifies sending desktop notifications in Electron. It doesn't matter if you use it from the main or a renderer process and works exactly the same.
For the main process this uses the electron-main-notification package.
Usage
Pretty simple:
const notify = require('electron-notification')
notify('The title of the notification', {
body: 'The body of the notification'
}, () => {
console.log('Notification was clicked!')
})