{"_id":"@aabuhijleh/windows-notification-state","_rev":"3-61840b85275ae3de83885183ff215aaf","name":"@aabuhijleh/windows-notification-state","dist-tags":{"latest":"2.0.0"},"versions":{"1.3.3":{"name":"@aabuhijleh/windows-notification-state","version":"1.3.3","description":"SHQueryUserNotificationState as a native Node addon","main":"lib/index.js","scripts":{"test":"standard && mocha ./test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git+https://github.com/aabuhijleh/windows-notification-state.git"},"license":"MIT","licenses":[{"type":"MIT","url":"http://github.com/aabuhijleh/windows-notification-state/blob/master/LICENSE"}],"dependencies":{"nan":"^2.14.0"},"author":{"name":"Felix Rieseberg","email":"felix@felixrieseberg.com","url":"http://www.felixrieseberg.com"},"keywords":["windows","SHQueryUserNotificationState","notifications"],"devDependencies":{"mocha":"^3.2.0","standard":"^9.0.1"},"gypfile":true,"bugs":{"url":"https://github.com/aabuhijleh/windows-notification-state/issues"},"homepage":"https://github.com/aabuhijleh/windows-notification-state#readme","directories":{"lib":"lib","test":"test"},"gitHead":"707dfa399f7ffbcc3aec34e059193f2d55bab0ad","_id":"@aabuhijleh/windows-notification-state@1.3.3","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-3G8jWKxiALX56fKo4FDyOdoainvHbWeNqGGlY6w6zJVCUlj2RIsKQF4mn9HXnOkDCMFDlwY16fyah6kx5bAIcA==","shasum":"3572e7fc218f01a349f4ddcbfa1d746433ee7795","tarball":"https://registry.npmjs.org/@aabuhijleh/windows-notification-state/-/windows-notification-state-1.3.3.tgz","fileCount":10,"unpackedSize":7865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmxIxCRA9TVsSAnZWagAAc9oP/368bcKkjBhL0IX7CQJ0\nImybbPQ0rXN9wAj0nRrjBipcKQQiMjsebIfgrpE1UXvJRVPKeG9XAtqfe9i7\nEO4gsnvgjig+ddKdrIlCVmK0wmKIYYQJH7Vd8RppMIthUNmR5kDcJq0812za\nO5R24Ayk0hwrnXRd8McreqM+3XlevdLLAGZg4GLEj+6X9LjYKKMzkMRFHopw\nY6nLfiy7RR8kNFu4BLCCEWdn7rBsBTCFZuuUbfw+K4gFOOZ1g6oxFjNGxSA+\ntN3uc+prxCaWDFm0POZynLPqQFclrToCdg8oHL7epOS5vGuMP0//TGRpu1et\nw7CvBRYVJ0dVwaRgfzqcAUH8NiFRW7KViw2M/vpKVp2l5FkVNOskPAsjsUKK\nys3WwKIxFiLgBFYwEYpVkv8PAW0tzWamSl6Q+UrTZ/wTioS1vIQ2yv8Kthf+\nVAceuiQ3zCfETtoVKP7cQfBubx8pdPcE2AdLBSvJdXfuondAnBHtaN2iqmna\nvQtV3ex6xizXh8toYuKxJE5GYIg/wlwYZ80cRn/zaq/I6VlZZfDgjUEOoKKA\n8GUPRxLtLD5ApNSvANqC/20aw0wnFyEgWjqYS1h6IA5JVYDvRQK+va1ouAT2\nVaonrfETuF5yeSy/kgP9PvimVx1+6svYOPeyjWoLjX14s/rYvjyCeOdUYnRc\nWf70\r\n=AwFv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtjm+hfAHMoLknb/6I16Cfvpae0JDHSA5vMKqe5/sOdAiB3OGNri6hzjoPkGgjSlOU33WcE9li4YK/iMe+Cm48wSA=="}]},"maintainers":[{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"}],"_npmUser":{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-notification-state_1.3.3_1570443824458_0.6936752585677282"},"_hasShrinkwrap":false},"1.3.4":{"name":"@aabuhijleh/windows-notification-state","version":"1.3.4","description":"SHQueryUserNotificationState as a native Node addon","main":"lib/index.js","scripts":{"test":"standard && mocha ./test/test.js","install":"node-gyp rebuild"},"repository":{"type":"git","url":"git+https://github.com/aabuhijleh/windows-notification-state.git"},"license":"MIT","licenses":[{"type":"MIT","url":"http://github.com/aabuhijleh/windows-notification-state/blob/master/LICENSE"}],"dependencies":{"nan":"^2.14.0"},"author":{"name":"Felix Rieseberg","email":"felix@felixrieseberg.com","url":"http://www.felixrieseberg.com"},"keywords":["windows","SHQueryUserNotificationState","notifications"],"devDependencies":{"mocha":"^3.2.0","standard":"^9.0.1"},"gypfile":true,"bugs":{"url":"https://github.com/aabuhijleh/windows-notification-state/issues"},"homepage":"https://github.com/aabuhijleh/windows-notification-state#readme","directories":{"lib":"lib","test":"test"},"gitHead":"80dd0c745f7aa5a1bf439dab9f326f561eb01e22","_id":"@aabuhijleh/windows-notification-state@1.3.4","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-bR3KxMoERSav16dVkW2esDRgVAA6SjPC2GF8Vsy7ybkMFORyHQ4R10qqEH3FHD+D2HK8e7OILxIdgJE057KUbA==","shasum":"3afd9aff0e7f987601714bde9b697a6718a0df0f","tarball":"https://registry.npmjs.org/@aabuhijleh/windows-notification-state/-/windows-notification-state-1.3.4.tgz","fileCount":10,"unpackedSize":7926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmxcZCRA9TVsSAnZWagAAnkMQAIRvJoe1c0mnSkPXBrwM\nqloKh/cdTOZt5Yont3N17bhjKdjCxh0FNmiZkJTO9mUmK4vXe/RJsMMC1Vcm\n1FAYAlup3hI6TRDWZUxOOaObi6Ej58qahxSmS0Mnc6Exw85VGxs1H/ZkMx9D\nf4tbCc0oeHYYYHeIs3CiWbzmrij3Yy49JPdnLVO+ofrpCaMVC1rFTFTGz7da\nyNkrs6f3MCKeMmqil2RTbutAkO1BEpvRIW7T2HRvmvIMOHlrTD2Y/g2ZOj/s\nnw8FTUpNCxnIv2oAkw0yO1Li3G4WMJNJSGNpA7KzzHkDmmZw8TDoZ4Rz9Htf\nkUFbqM9XGwZb2n9VGO94M5exq1fQvZlHm3Y1bc4kWCYVJNFW87P7e22lblBk\nPquh0o1imThI/n023fFcHKZxFvLnSybjMVLOtXQwFI0k9a9xmLrMYoYEVUt5\ny9/m1P919La4LKGHu/TVNTOIz2mZp17dDk3rkPPkFMEa1Bl7aOo9kQoJKzT9\nfySd91oLjmL2bkES+bNX1PPj+8FYaK0QUEj5Awksb5hmYZRlBSHMICC6ffA7\nb7uBpTshNxB4OlseZNn28H4eZc0MkiCGu/rJ6uQL2OSJKpInvLchwTLBz2bo\nMn+6gKKj8yKvuZXQY9JwjNBZJQoSCmHyLa3AgmsInfGc0avD4F59Qt6pj247\nFFpW\r\n=Dpx1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyCRhPzVApgIyggv+KrU8GEZlA41VmMcqE8mlJNQICVAiEA/u2uKyOWvCLt95baUQsYI5j8rGtUd0A/kAAltCGHdQ4="}]},"maintainers":[{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"}],"_npmUser":{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-notification-state_1.3.4_1570445080506_0.7706788841399339"},"_hasShrinkwrap":false},"2.0.0":{"_from":"@aabuhijleh/windows-notification-state","_id":"@aabuhijleh/windows-notification-state@2.0.0","_inBundle":false,"_integrity":"sha512-bR3KxMoERSav16dVkW2esDRgVAA6SjPC2GF8Vsy7ybkMFORyHQ4R10qqEH3FHD+D2HK8e7OILxIdgJE057KUbA==","_location":"/@aabuhijleh/windows-notification-state","_phantomChildren":{},"_requested":{"type":"tag","registry":true,"raw":"@aabuhijleh/windows-notification-state","name":"@aabuhijleh/windows-notification-state","escapedName":"@aabuhijleh%2fwindows-notification-state","scope":"@aabuhijleh","rawSpec":"","saveSpec":null,"fetchSpec":"latest"},"_requiredBy":["#USER","/"],"_resolved":"https://registry.npmjs.org/@aabuhijleh/windows-notification-state/-/windows-notification-state-1.3.4.tgz","_shasum":"3afd9aff0e7f987601714bde9b697a6718a0df0f","_spec":"@aabuhijleh/windows-notification-state","_where":"C:\\Users\\aabuhijleh\\Desktop\\Projects\\testing\\windows-state-notification","author":{"name":"Felix Rieseberg","email":"felix@felixrieseberg.com","url":"http://www.felixrieseberg.com"},"bugs":{"url":"https://github.com/aabuhijleh/windows-notification-state/issues"},"bundleDependencies":false,"dependencies":{"nan":"^2.14.0"},"deprecated":false,"description":"SHQueryUserNotificationState as a native Node addon","devDependencies":{"mocha":"^3.2.0","standard":"^9.0.1"},"directories":{"lib":"lib","test":"test"},"gypfile":true,"homepage":"https://github.com/aabuhijleh/windows-notification-state#readme","keywords":["windows","SHQueryUserNotificationState","notifications"],"license":"MIT","licenses":[{"type":"MIT","url":"http://github.com/aabuhijleh/windows-notification-state/blob/master/LICENSE"}],"main":"lib/index.js","name":"@aabuhijleh/windows-notification-state","repository":{"type":"git","url":"git+https://github.com/aabuhijleh/windows-notification-state.git"},"scripts":{"install":"node-gyp rebuild","test":"standard && mocha ./test/test.js"},"version":"2.0.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+bkoGnVG+KkRRt+dhqLBBKoD79tIKcHiQvpPQ/BpKlpygbyu1Ws+G0W0qVRF+LWtufQs8wSIRizW8pxONt5ouw==","shasum":"9eb904d3b64e7cd9277c6e870835f8f84c4b137c","tarball":"https://registry.npmjs.org/@aabuhijleh/windows-notification-state/-/windows-notification-state-2.0.0.tgz","fileCount":10,"unpackedSize":9069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes/djCRA9TVsSAnZWagAA/KoP/1E1TeQjJWTsQvjp3bf8\n28Hu+xXtCp77Dd5SVkteYiNLV6lwhLvJngU22LYbu2MznSf7oB0lR01sBqRE\njHagIQuNbWKP5gCcdh/IC0k496JYYWuHxNTtjXdcSADROXdpRpK6hhQMIkC0\nVbpzLaJl7oeVEfOanSDQrkJVYN764p6vrJ8LcmyLTQ32wjD5ge+cc2de1qDZ\nR7iFjJAqGw9x4AkPPTPJXATEyU3VRWL0iy7MNX+QmIW8ETJnfPQUC1yOoTUH\nUA9bnGdq0De8OWJnjftNuovXc/uIW/4Gh44GJfWtclr2yMx2dyJ210aRH/Pm\nGLUUZyJwUOBSWU5GVPpoXkwKnm29bX1Y0sPBh3cRNKY2V1FL2PT4u9yquhoz\nkRYR3mYI6iZ34gSQD0FmsSpHKJfaJxCKopB1bHEOqPtlH2MRsLGGdr4On1TV\nTb7i0SR5+Ao2isEbDBcVpiB+BIJ4fRxMof+tt8Kx+bPEGEcCzGFIEBf1D2QA\nhKpsn7wgfegY6kWSx2cNQrBLLQn7x8RhKB8RWmrme79LDXfGAQpx1w1XXPB7\nbs1H5SaCGfqAPpPeLvUTLE26i6LJtRjj4vE+Xu38OSQO0afXtdR6OTRK4KMn\nQD1p5KV+IGehLcjCPUs6BGwe/oyJ15BUnrvOlTAm1d/HMIMO27K4Rohz++I3\n7c0p\r\n=NJJc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPcbKjgOd08VJyx7U+Yn+sM9qGyvH+b4G8Vdf5LUP35wIhAPJzwKmZtdte5A9EGdRC5CBbM66i4LCiVIgVTdw/MIEI"}]},"maintainers":[{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"}],"_npmUser":{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-notification-state_2.0.0_1588852578760_0.8844452565415111"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-07T10:23:44.233Z","1.3.3":"2019-10-07T10:23:44.647Z","modified":"2022-04-04T10:54:53.575Z","1.3.4":"2019-10-07T10:44:40.677Z","2.0.0":"2020-05-07T11:56:18.930Z"},"maintainers":[{"name":"aabuhijleh","email":"aabuhijleh@asaltech.com"}],"description":"SHQueryUserNotificationState as a native Node addon","homepage":"https://github.com/aabuhijleh/windows-notification-state#readme","keywords":["windows","SHQueryUserNotificationState","notifications"],"repository":{"type":"git","url":"git+https://github.com/aabuhijleh/windows-notification-state.git"},"author":{"name":"Felix Rieseberg","email":"felix@felixrieseberg.com","url":"http://www.felixrieseberg.com"},"bugs":{"url":"https://github.com/aabuhijleh/windows-notification-state/issues"},"license":"MIT","readme":"## windows-notification-state\r\n[SHQueryUserNotificationState](https://msdn.microsoft.com/en-us/library/windows/desktop/bb762242(v=vs.85).aspx), implemented as a native Node addon. If you're looking for a simple solution to check whether or not you should send your user a notification, this is it.\r\n\r\n```\r\nnpm install windows-notification-state\r\n```\r\n\r\n```\r\nconst { shQueryUserNotificationState, getNotificationState } = require('windows-notification-state`)\r\n\r\n// This will print a number (corresponding with QUERY_USER_NOTIFICATION_STATE)\r\nconsole.log(shQueryUserNotificationState())\r\n\r\n// If you prefer your code to be more readable, you can use the string-based variant.\r\n// This will print the name of the enum (so \"QUNS_ACCEPTS_NOTIFICATIONS\" instead of 5)\r\nconsole.log(getNotificationState())\r\n```\r\n\r\n#### License\r\nMIT, please see LICENSE for details. Copyright (c) 2017 Felix Rieseberg.\r\n","readmeFilename":"README.md"}