{"versions":{"0.2.0":{"name":"electron-is-accelerator","version":"0.2.0","description":"Check if a string is a valid Electron accelerator","main":"index.js","types":"index.d.ts","scripts":{"test":"jshint *.js && ava"},"repository":{"type":"git","url":"git+https://github.com/brrd/electron-is-accelerator.git"},"keywords":["electron","accelerator"],"author":{"name":"brrd"},"license":"MIT","bugs":{"url":"https://github.com/brrd/electron-is-accelerator/issues"},"homepage":"https://github.com/brrd/electron-is-accelerator","devDependencies":{"ava":"^0.17.0","jshint":"^2.9.4"},"gitHead":"1faa877369ea76c64e2e7ead34e355612c91edd3","_id":"electron-is-accelerator@0.2.0","_shasum":"8768feb2eb64ded6bcb98936853a4a6dcf6bfb46","_from":".","_npmVersion":"4.0.0","_nodeVersion":"10.20.1","_npmUser":{"name":"anonymous","email":"contact@brrd.fr"},"dist":{"shasum":"8768feb2eb64ded6bcb98936853a4a6dcf6bfb46","size":3064,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/electron-is-accelerator/-/electron-is-accelerator-0.2.0.tgz"},"maintainers":[{"name":"anonymous","email":"brrd@gmx.com "}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/electron-is-accelerator_0.2.0_1588227678382_0.38189416026627465"},"_hasShrinkwrap":false,"publish_time":1588227678484,"_cnpm_publish_time":1588227678484,"contributors":[]},"0.1.2":{"name":"electron-is-accelerator","version":"0.1.2","description":"Check if a string is a valid Electron accelerator","main":"index.js","scripts":{"test":"jshint *.js && ava"},"repository":{"type":"git","url":"git+https://github.com/brrd/electron-is-accelerator.git"},"keywords":["electron","accelerator"],"author":{"name":"brrd"},"license":"MIT","bugs":{"url":"https://github.com/brrd/electron-is-accelerator/issues"},"homepage":"https://github.com/brrd/electron-is-accelerator","devDependencies":{"ava":"^0.17.0","jshint":"^2.9.4"},"gitHead":"f2c4e8bf18414ba611c5905f6c45de7cd82aa98a","_id":"electron-is-accelerator@0.1.2","_shasum":"509e510c26a56b55e17f863a4b04e111846ab27b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"brrd@gmx.com"},"maintainers":[{"name":"anonymous","email":"brrd@gmx.com "}],"dist":{"shasum":"509e510c26a56b55e17f863a4b04e111846ab27b","size":2909,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/electron-is-accelerator/-/electron-is-accelerator-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/electron-is-accelerator-0.1.2.tgz_1491300751156_0.27671143994666636"},"directories":{},"publish_time":1491300752964,"_hasShrinkwrap":false,"_cnpm_publish_time":1491300752964,"contributors":[]},"0.1.1":{"name":"electron-is-accelerator","version":"0.1.1","description":"Check if a string is a valid Electron accelerator","main":"index.js","scripts":{"test":"jshint *.js && ava"},"repository":{"type":"git","url":"git+https://github.com/brrd/electron-is-accelerator.git"},"keywords":["electron","accelerator"],"author":{"name":"brrd"},"license":"MIT","bugs":{"url":"https://github.com/brrd/electron-is-accelerator/issues"},"homepage":"https://github.com/brrd/electron-is-accelerator","devDependencies":{"ava":"^0.17.0","jshint":"^2.9.4"},"gitHead":"8f864c2fd2fd899bd9f6e3727df80fdd0c1088ea","_id":"electron-is-accelerator@0.1.1","_shasum":"736af9f96c48948925c0b1b96f821f1e8a589d79","_from":".","_npmVersion":"4.0.0","_nodeVersion":"4.4.7","_npmUser":{"name":"anonymous","email":"contact@brrd.fr"},"dist":{"shasum":"736af9f96c48948925c0b1b96f821f1e8a589d79","size":2849,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/electron-is-accelerator/-/electron-is-accelerator-0.1.1.tgz"},"maintainers":[{"name":"anonymous","email":"brrd@gmx.com "}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/electron-is-accelerator-0.1.1.tgz_1479479464133_0.5134063742589206"},"directories":{},"publish_time":1479479464732,"_cnpm_publish_time":1479479464732,"_hasShrinkwrap":false,"contributors":[]},"0.1.0":{"name":"electron-is-accelerator","version":"0.1.0","description":"Check if a string is a valid Electron accelerator","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/brrd/electron-is-accelerator.git"},"keywords":["electron","accelerator"],"author":{"name":"brrd"},"license":"MIT","bugs":{"url":"https://github.com/brrd/electron-is-accelerator/issues"},"homepage":"https://github.com/brrd/electron-is-accelerator","gitHead":"ed35ce2d3eb020192954138e2c9f40191e937fc9","_id":"electron-is-accelerator@0.1.0","_shasum":"ae14a8c81fc3d392514d95f4998cfd32e64796f1","_from":".","_npmVersion":"4.0.0","_nodeVersion":"4.4.7","_npmUser":{"name":"anonymous","email":"contact@brrd.fr"},"dist":{"shasum":"ae14a8c81fc3d392514d95f4998cfd32e64796f1","size":2159,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/electron-is-accelerator/-/electron-is-accelerator-0.1.0.tgz"},"maintainers":[{"name":"anonymous","email":"brrd@gmx.com "}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/electron-is-accelerator-0.1.0.tgz_1477488823609_0.5101420090068132"},"directories":{},"publish_time":1477488825647,"_cnpm_publish_time":1477488825647,"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"0.2.0"},"name":"electron-is-accelerator","time":{"modified":"2023-12-30T16:57:56.276Z","created":"2022-01-26T20:58:42.307Z","0.2.0":"2020-04-30T06:21:18.484Z","0.1.2":"2017-04-04T10:12:32.964Z","0.1.1":"2016-11-18T14:31:04.732Z","0.1.0":"2016-10-26T13:33:45.647Z"},"readme":"# electron-is-accelerator\r\n\r\nCheck if a string is a valid [Electron accelerator](https://github.com/electron/electron/blob/master/docs/api/accelerator.md) and return a boolean. This module can be used to validate user defined accelerators before using them with [MenuItems](http://electron.atom.io/docs/api/menu-item/).\r\n\r\n## Installation\r\n\r\n```\r\n$ npm install --save electron-is-accelerator\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nvar isAccelerator = require(\"electron-is-accelerator\");\r\n\r\nisAccelerator(\"CommandOrControl+Shift+Z\"); // true\r\nisAccelerator(\"CommandOrControl+F9\"); // true\r\nisAccelerator(\"CommandOrContrl+F9\"); // false\r\nisAccelerator(\"A+Z\"); // false\r\n```\r\n\r\n## License\r\n\r\nThe MIT License (MIT)\r\nCopyright (c) 2016 Thomas Brouard","users":{}}