This package has been deprecated

Author message:

This package is no longer maintained. Electron now supports notifications on all platforms.

electron-notification-polyfill

1.2.2 • Public • Published
import os from 'os';
import NotificationPolyfill from 'electron-notification-polyfill';
const Notification = process.platform === 'win32' && parseFloat(os.release()) < 10 ? NotificationPolyfill: window.Notification;
new Notification('Hello World', {
  body: '...',
  icon: 'http://abc.example/icon.png'
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i electron-notification-polyfill

Weekly Downloads

1

Version

1.2.2

License

MIT

Last publish

Collaborators

  • sbspk