{"_id":"@alexsasharegan/keycodes","_rev":"12-56c46d39e29438570314d7aeb6c8820c","name":"@alexsasharegan/keycodes","description":"A set of named constants mapping to event keycodes.","dist-tags":{"latest":"2.0.7"},"versions":{"1.0.0":{"name":"@alexsasharegan/keycodes","version":"1.0.0","description":"A set of named constants mapping to event keycodes.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["keycodes"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","gitHead":"87029e34fa752471e40fc5a56d74f84151a5c559","_id":"@alexsasharegan/keycodes@1.0.0","_shasum":"13a538873d35c27b4c25e65b7488bfe70cbab8a9","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"13a538873d35c27b4c25e65b7488bfe70cbab8a9","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-1.0.0.tgz","integrity":"sha512-88DCuSMfm+1NSXsIyMSYwHgHd8W0uRdvBXAuUYnz4R+H0xVLI46MWw3GF5ApzwdRW1yTe0sVwqX+UaOqUUDRZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSeV+DDPoqP52XtoVXdTEMonw85l+NkEzJleJMA1nPHAiEA0vwfAKQ/r0vC8fuvXSClao56F+IsxpDM+d0+4AnFr54="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-1.0.0.tgz_1487212860405_0.4372530539985746"}},"1.0.1":{"name":"@alexsasharegan/keycodes","version":"1.0.1","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"keywords":["keycodes"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","gitHead":"f799eba1b02b62034c3be1d29dae210052034539","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@1.0.1","_shasum":"6a18caab72970251d6f50ed4bab6eef8900ed0d8","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"6a18caab72970251d6f50ed4bab6eef8900ed0d8","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-1.0.1.tgz","integrity":"sha512-2jk9z1k3MbB0sFmMvAnGm4nv+AED1JVbWj9tOQu5T6dsI/3QflUBY/XBYLiWAqJZpOG/UgvWantApWSXTkybcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlPFS6NpIvSkJ8gsbqNe6/mZsSrdBgeagouqcFGwTZeAIhAK2C5dtsqZF8boYwZZ8Simj5HOb5HBK2y7otSyMzoGQ/"}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-1.0.1.tgz_1487213529191_0.752619095146656"}},"1.0.2":{"name":"@alexsasharegan/keycodes","version":"1.0.2","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm publish --access=public","patch":"npm version patch","minor":"npm version minor","major":"npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"44d964843791b2a236d56f19e670a012437c0ee6","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@1.0.2","_shasum":"6889394dfd9834b16403699aac113a8aca1404c0","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"6889394dfd9834b16403699aac113a8aca1404c0","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-1.0.2.tgz","integrity":"sha512-2yyhtkd/nXrLHW8YE5KTgdmH5MzC2w0kPPA6q89GU8v4mGSCQ0+3sHyH+TSmF2WYmwyv4jzos9BBxD9OV+oEcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDG0CNM2sbgBMPCVQ4cmzGwM+gn0tpAbbQBeXpVdVzRSwIhAN8oBumKRwLfmLp4Sf6oOMUDdyMdkn4Vs2OgJUVzSvcV"}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-1.0.2.tgz_1487361998222_0.7692067211028188"}},"2.0.0":{"name":"@alexsasharegan/keycodes","version":"2.0.0","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"4f552b30b78c17036284a4780e86eeb641fd7cad","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.0","_shasum":"a602075ce50a9feb33b54a38e19ff4eca4e4364c","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"a602075ce50a9feb33b54a38e19ff4eca4e4364c","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.0.tgz","integrity":"sha512-8NdYg2WBMYgJumJfhZsco6Eph48LEnZvKJYzXkHly2isPAozqcohB0ULoYc/4AKRPXfk5+sba+T4vH/ea425jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClswRU11lu6AZAT1N3HbEelwce7pKsiN1oVM34zGjpSAIhAPaUC3/vMi1gLCA4Bcll5JpAnfJrpOA55qJOfh/yFbPB"}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.0.tgz_1488139228379_0.7107729983981699"}},"2.0.1":{"name":"@alexsasharegan/keycodes","version":"2.0.1","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"fbcb2a70a079db3c7a9660e9ed04380e5cfefcde","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.1","_shasum":"f505249606fbfb9ba9387a9703056369f2685b20","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"f505249606fbfb9ba9387a9703056369f2685b20","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.1.tgz","integrity":"sha512-f8HXJKc6sDqXsHmcfei6xH14tyaTkAtzNb/L2Opiwgyl9BYfEFvj/qJxRiQoIkBzjUekuOhHGXPRt0WhN7uyaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTXbbGOlomwOwXuD9uee3ed9mJFcLQpbrmxP0jahAJIwIgEyeLVyKAT1RZM6fV0K4hkQ8h67vPePjvkn1cdm8kTHM="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/keycodes-2.0.1.tgz_1488139818269_0.9279171931557357"}},"2.0.2":{"name":"@alexsasharegan/keycodes","version":"2.0.2","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"32620a1e700e2b74aaf77f51b5ffbd965d23cf7d","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.2","_shasum":"55e838ebe43e2587179f13041e5237470cd62fdc","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"55e838ebe43e2587179f13041e5237470cd62fdc","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.2.tgz","integrity":"sha512-Zf6TS7y3uh5NRC2emePHdoI1xGGsJYi8wHa3FfWN5e9fTm61vASf2co8Tz7UUJJgraYsrieC+fhsCih+6VhIpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6FWoWZqo6JRgNi6EYVwxpYoVyKdz+n6Zhbz/LDpXTkAiBJE72VFrp+z7Y5taZqTktFa1ipUHL1IMh0dJ3zVU3ZGg=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/keycodes-2.0.2.tgz_1488140206869_0.04332385677844286"}},"2.0.3":{"name":"@alexsasharegan/keycodes","version":"2.0.3","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"60d53fd688cabde82c63381f52a3b35a0daa27ef","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.3","_shasum":"6d92d1e155761492f7ad92545a210f852154efab","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"6d92d1e155761492f7ad92545a210f852154efab","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.3.tgz","integrity":"sha512-wyioZ/QByUs9OUNqHViDZC/0amgrvc3/eoa3KzZRqpZAGFjHboiS6tgMJK+Qj4mtNpviOerOm3tZCMclQgszTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeRsTCnPIWEa5ZJmnt2DMD3otGKqb7ZtBzbhuS6BIsEwIgN98zHQNDAdsX+FSlT8GMA4vRZsP/VryFc+6EJfNIKjE="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.3.tgz_1488140834142_0.3483022847212851"}},"2.0.4":{"name":"@alexsasharegan/keycodes","version":"2.0.4","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"1fbb694e50eeb5dc7ccea00c6c6cb036719bf2de","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.4","_shasum":"fa95b3bfa373146570abfcfeed9905fa306e15af","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"fa95b3bfa373146570abfcfeed9905fa306e15af","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.4.tgz","integrity":"sha512-hEfc4lSRsMqe4zYxkN30zPE1QSkjjdElv1y2dzUrfjaivzhgm47PtbKO7GDUU2Bu8LxZcfuxhNELIi0ipQ7UdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+WCryvFOYuKk+OFk/sBXdJpF8vDJTM5Du/Yg+nttGxAiAiwjk6xNOcHiSOxdRGSSB/0Ib3xh+BEzsXpqGib9siMA=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.4.tgz_1488141097232_0.571808960987255"}},"2.0.5":{"name":"@alexsasharegan/keycodes","version":"2.0.5","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"dab7c6af44364bf64defab4f61c85c697a8dcd2e","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.5","_shasum":"b22e84bdfb53311e9d598c21b37f1cec5e850c35","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"b22e84bdfb53311e9d598c21b37f1cec5e850c35","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.5.tgz","integrity":"sha512-o0k2497LSfwud5gV5OUZR/mDKZWrqtoJEGbV+28/T0Ci5VhM2Crfv/tQkzFmvITJy4qv7sRRjJPAlIyMXdag2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI0Q7Qrk2Dlc7S9r7z1e0HMH4QnN7JFNin6jkuo2588AiEAtpJ0jMED3scpoortYrxZ/nRZLChyvjh9zG7J32wuVYQ="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.5.tgz_1488159642058_0.006131608039140701"}},"2.0.6":{"name":"@alexsasharegan/keycodes","version":"2.0.6","description":"A set of named constants mapping to event keycodes.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"BABEL_ENV=production babel src -d ./","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"a1628abfc5fffd1aea455323471a8591b0e3bade","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.6","_shasum":"dfe3c05e14a0583921e6b90bc0ca1562c38eb641","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"dfe3c05e14a0583921e6b90bc0ca1562c38eb641","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.6.tgz","integrity":"sha512-akJ9URzCgJY7KjrZB//ajcV5OaFGMMswbxibZnffc6ah+6ffd4FGy6UhnGeGUjmcs1uPJH/+lgXgSk0QZJnHrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjclZiR1FgCyXg+90OhiZF7H4+O39izRCsVBHVyMEfFAiEApaFGkCw2F0vrRI/lsA9nzp/GvR37b+aTLq1moUsz6nc="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.6.tgz_1488164570043_0.3843117323704064"}},"2.0.7":{"name":"@alexsasharegan/keycodes","version":"2.0.7","description":"A set of named constants mapping to event keycodes.","main":"src/index.js","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run build-dev && BABEL_ENV=production babel src -o ./dist/index.min.js","build-dev":"babel src -d ./dist","publish":"npm run build && npm publish --access=public","patch":"npm run build && npm version patch","minor":"npm run build && npm version minor","major":"npm run build && npm version major"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","devDependencies":{"babel-cli":"^6.23.0","babel-preset-env":"^1.1.8","babel-preset-es2015":"^6.22.0","babili":"^0.0.11"},"gitHead":"d670b22d68150013aa84aa1db9215e9bfb46d67f","bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"},"homepage":"https://github.com/alexsasharegan/keycodes#readme","_id":"@alexsasharegan/keycodes@2.0.7","_shasum":"5b4a7f6e3c47a0b1571b1ead072fdb686f390de4","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"},"dist":{"shasum":"5b4a7f6e3c47a0b1571b1ead072fdb686f390de4","tarball":"https://registry.npmjs.org/@alexsasharegan/keycodes/-/keycodes-2.0.7.tgz","integrity":"sha512-uRKDVjcKlYiXsc0mEeWMxZPGLDdnSFUzIQsuI8+rAaoK2KQEGvZ4HG4VWbMootBP8Kl6dQ2+dpWXQEqoKrFlnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJE31tHI1v4cjj84uVDsFj4o/TyqlfHavB1ZS8QmWZSAiBCUyvmqqJmSFa1SuzKozo84yOvs4MgNMyXTZfxhmEzwQ=="}]},"maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/keycodes-2.0.7.tgz_1488169513004_0.21754025598056614"}}},"readme":"# Keycodes\nStarted as my own simple map of named keycode constants, but evolved to my preferred semantics of this well done package: **[timoxley/keycode](https://github.com/timoxley/keycode)**. Now it's not much more than a personal fork of this package.\n\n\n## Installation\n\n#### npm\n\n```sh\nnpm install @alexsasharegan/keycodes\n```\n\n## Example\n\n```js\nconst keycode = require('@alexsasharegan/keycodes');\n\ndocument.addEventListener('keydown', e => console.log(`You pressed: ${keycode(e)}`) );\n```\n\n## API\n\n`keycode` tries to make an intelligent guess as to what\nyou're trying to discover based on the type of argument\nyou supply.\n\n\n##keycode(keycode:Event)\n\nReturns the name of the key associated with this event.\n\n```js\ndocument.addEventListener('keyup', e => console.log(keycode(e)) ); // prints name of key\n```\n\n[Due to the keypress event being weird](https://github.com/timoxley/keycode/wiki/wtf%3F-keydown,-keyup-vs-keypress),`keycodes `currently does not support the `keypress` event, but this should not be an issue as `keydown` and `keyup` work perfectly fine.\n\n\n##keycode(keycode:Number)\n\nReturns the constant name of a given numeric keycode.\n\n```js\nkeycode(13); // => 'ENTER'\nkeycode(37); // => 'LEFT_ARROW'\n```\n\n##keycode(name:String)\n\nReturns the numeric keycode for given key name.\n\n```js\nkeycode('Enter'); // => 13\n\n// keycode is not case sensitive\nkeycode('eNtEr'); // => 13\n```\n\n\n## Maps\n\nKey code/name maps are available directly as `keycode.codes` and `keycode.names` respectively.\n\n```js\nkeycode.names.ENTER; // => 13\nkeycode.codes[13]; // => 'ENTER'\n```\n\n**keycode.names:**\n```json\n{\n  \"BACKSPACE\": 8,\n  \"TAB\": 9,\n  \"CLEAR\": 12,\n  \"RETURN\": 13,\n  \"ENTER\": 13,\n  \"SHIFT\": 16,\n  \"CONTROL\": 17,\n  \"ALT\": 18,\n  \"OPTION\": 18,\n  \"PAUSE_BREAK\": 19,\n  \"CAPS_LOCK\": 20,\n  \"ESCAPE\": 27,\n  \"SPACE_BAR\": 32,\n  \"PAGE_UP\": 33,\n  \"PAGE_DOWN\": 34,\n  \"END\": 35,\n  \"HOME\": 36,\n  \"LEFT_ARROW\": 37,\n  \"UP_ARROW\": 38,\n  \"RIGHT_ARROW\": 39,\n  \"DOWN_ARROW\": 40,\n  \"INSERT\": 45,\n  \"DELETE\": 46,\n  \"COMMAND\": [\n    91,\n    93,\n    224\n  ],\n  \"COMMAND_LEFT\": [\n    91,\n    224\n  ],\n  \"WINDOWS\": [\n    91,\n    224\n  ],\n  \"COMMAND_RIGHT\": [\n    93,\n    224\n  ],\n  \"WINDOWS_MENU\": [\n    93,\n    224\n  ],\n  \"NUMPAD_ASTERISK\": 106,\n  \"NUMPAD_PLUS\": 107,\n  \"NUMPAD_DASH\": 109,\n  \"NUMPAD_MINUS\": 109,\n  \"NUMPAD_HYPHEN\": 109,\n  \"NUMPAD_PERIOD\": 110,\n  \"NUMPAD_FORWARD_SLASH\": 111,\n  \"NUM_LOCK\": 144,\n  \"SCROLL_LOCK\": 145,\n  \"MY_COMPUTER\": 182,\n  \"MY_CALCULATOR\": 183,\n  \"SEMICOLON\": 186,\n  \"EQUALS\": 187,\n  \"COMMA\": 188,\n  \"DASH\": 189,\n  \"MINUS\": 189,\n  \"HYPHEN\": 189,\n  \"PERIOD\": 190,\n  \"FORWARD_SLASH\": 191,\n  \"BACKTICK\": 192,\n  \"LEFT_BRACKET\": 219,\n  \"BACKSLASH\": 220,\n  \"RIGHT_BRACKET\": 221,\n  \"APOSTROPHE\": 222,\n  \"A\": 65,\n  \"B\": 66,\n  \"C\": 67,\n  \"D\": 68,\n  \"E\": 69,\n  \"F\": 70,\n  \"G\": 71,\n  \"H\": 72,\n  \"I\": 73,\n  \"J\": 74,\n  \"K\": 75,\n  \"L\": 76,\n  \"M\": 77,\n  \"N\": 78,\n  \"O\": 79,\n  \"P\": 80,\n  \"Q\": 81,\n  \"R\": 82,\n  \"S\": 83,\n  \"T\": 84,\n  \"U\": 85,\n  \"V\": 86,\n  \"W\": 87,\n  \"X\": 88,\n  \"Y\": 89,\n  \"Z\": 90,\n  \"F1\": 112,\n  \"F2\": 113,\n  \"F3\": 114,\n  \"F4\": 115,\n  \"F5\": 116,\n  \"F6\": 117,\n  \"F7\": 118,\n  \"F8\": 119,\n  \"F9\": 120,\n  \"F10\": 121,\n  \"F11\": 122,\n  \"F12\": 123,\n  \"F13\": 124,\n  \"F14\": 125,\n  \"F15\": 126,\n  \"F16\": 127,\n  \"F17\": 128,\n  \"F18\": 129,\n  \"F19\": 130,\n  \"ZERO\": 48,\n  \"ONE\": 49,\n  \"TWO\": 50,\n  \"THREE\": 51,\n  \"FOUR\": 52,\n  \"FIVE\": 53,\n  \"SIX\": 54,\n  \"SEVEN\": 55,\n  \"EIGHT\": 56,\n  \"NINE\": 57,\n  \"NUMPAD_ZERO\": 96,\n  \"NUMPAD_ONE\": 97,\n  \"NUMPAD_TWO\": 98,\n  \"NUMPAD_THREE\": 99,\n  \"NUMPAD_FOUR\": 100,\n  \"NUMPAD_FIVE\": 101,\n  \"NUMPAD_SIX\": 102,\n  \"NUMPAD_SEVEN\": 103,\n  \"NUMPAD_EIGHT\": 104,\n  \"NUMPAD_NINE\": 105\n}\n```\n\n## Credit\n[timoxley/keycode](https://github.com/timoxley/keycode)","maintainers":[{"name":"alexsasharegan","email":"alex.joseph.regan@gmail.com"}],"time":{"modified":"2022-06-12T14:29:04.457Z","created":"2017-02-16T02:41:00.626Z","1.0.0":"2017-02-16T02:41:00.626Z","1.0.1":"2017-02-16T02:52:09.430Z","1.0.2":"2017-02-17T20:06:38.454Z","2.0.0":"2017-02-26T20:00:28.596Z","2.0.1":"2017-02-26T20:10:20.103Z","2.0.2":"2017-02-26T20:16:48.725Z","2.0.3":"2017-02-26T20:27:14.397Z","2.0.4":"2017-02-26T20:31:37.490Z","2.0.5":"2017-02-27T01:40:42.322Z","2.0.6":"2017-02-27T03:02:50.267Z","2.0.7":"2017-02-27T04:25:13.259Z"},"keywords":["keycodes","events"],"author":{"name":"Alex Regan","email":"alex.joseph.regan@gmail.com","url":"https://github.com/alexsasharegan"},"license":"ISC","readmeFilename":"readme.md","homepage":"https://github.com/alexsasharegan/keycodes#readme","repository":{"type":"git","url":"git+https://github.com/alexsasharegan/keycodes.git"},"bugs":{"url":"https://github.com/alexsasharegan/keycodes/issues"}}