electron-notification 1.0.0 • Public • Published 8 years ago 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! ' )
} )
Versions Current Tags Version
Downloads (Last 7 Days) 1.0.0
22
Version History Version
Downloads (Last 7 Days) 1.0.0
22
Package Sidebar Install npm i electron-notification
Downloads Weekly Downloads