electron-notification

1.0.0 • Public • Published

electron-notification

JavaScript Style Guide

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!')
})

Package Sidebar

Install

npm i electron-notification

Weekly Downloads

33

Version

1.0.0

License

ISC

Last publish

Collaborators

  • maxgfeller