Detect native notifications support


#1

Hi!
I want to use Tray.displayBalloon() for Windows 8.1, 8 and 7, where is no (or it is poor) Notifications API support and native new Notification() in case when it is supported: Windows 10, OSX, Linux.

So question is how to detect 'does this environment support the native Notification'?
And I am talking about feature detection. Because it is possible to detect the os and platform: https://github.com/mikaelbr/node-notifier/blob/master/lib/utils.js#L313-L319