SHQueryUserNotificationState as a native Node addon
npm install windows-notification-state```
npm install windows-notification-state
`)
const { shQueryUserNotificationState, getNotificationState } = require('windows-notification-state
// This will print a number (corresponding with QUERY_USER_NOTIFICATION_STATE)
console.log(shQueryUserNotificationState())
// If you prefer your code to be more readable, you can use the string-based variant.
// This will print the name of the enum (so "QUNS_ACCEPTS_NOTIFICATIONS" instead of 5)
console.log(getNotificationState())
```
#### License
MIT, please see LICENSE for details. Copyright (c) 2017 Felix Rieseberg.