UNPKG

whatkey

Version:

Takes a event object and returns the key pressed

46 lines (45 loc) 1.22 kB
{ "name": "whatkey", "version": "2.0.1", "description": "Takes a event object and returns the key pressed", "main": "lib/index.js", "contributors": [ { "name": "Jonathan Gertig", "email": "jcgertig@gmail.com" } ], "repository": { "type": "git", "url": "git://github.com/jcgertig/whatkey.git" }, "bugs": "https://github.com/jcgertig/whatkey/issues", "keywords": [ "html5", "light", "lightweight", "key", "keypress", "keydown", "character" ], "analyze": true, "license": "MIT", "scripts": { "compile": "babel src/ --out-dir lib", "prepublish": "npm run compile", "dev": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config ./test/webpack.config.js --progress --colors --content-base test/" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-loader": "^7.1.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-es2015-modules-umd": "^6.24.1", "babel-preset-babili": "^0.1.4", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "webpack": "^3.1.0", "webpack-dev-server": "^2.5.0" } }