Miss any of our Open RFC calls?Watch the recordings here! »

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

Install

npm i electron-notification

DownloadsWeekly Downloads

6

Version

1.0.0

License

ISC

Last publish

Collaborators

  • avatar