1.2.2 • Published 8 years ago

electron-notification-polyfill v1.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago
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'
})
1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago