win10-toast
v0.1.0
Published
Windows 10 Toast Notifications API simplified, and prebuilt with NodeRT.
Downloads
27
Maintainers
Readme
win10-toast
Windows 10 Toast Notifications API simplified, and prebuilt with NodeRT.
Installation
npm install win10-toast
Quickstart
const toast = require('win10-toast')({
title: 'Double Rainbow',
text: 'Ohhhh, wow! OMG! OMG, double rainbow all the way across the sky!',
appId: 'double-rainbow.org',
icon: 'rainbow.png'
})
toast.on('activated', ... )
toast.on('userCanceled', ... )
toast.on('timedOut', ... )
Notes
- Toast options on the Windows Developer Blog
- Toast sound options in the Windows Dev Center
- Rainbow icon by Roundicons under Flaticon Basic License
Development
- Prerequesites
- Building: Open Powershell as an administrator and run:
.\build.ps1
- Todos: Document API
License
WTFPL – Do What the F*ck You Want to Public License.
Made with :heart: by @MarkTiedemann.