Windows 10 Toast Notifications API simplified, and prebuilt with NodeRT.
npm install win10-toast
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', ... )
- Toast options on the Windows Developer Blog
- Toast sound options in the Windows Dev Center
- Rainbow icon by Roundicons under Flaticon Basic License
- Prerequesites
- Building: Open Powershell as an administrator and run:
.\build.ps1
- Todos: Document API
WTFPL โ Do What the F*ck You Want to Public License.
Made with โค๏ธ by @MarkTiedemann.