1.0.0 • Published 9 years ago

keycodez v1.0.0

Weekly downloads
2,313
License
MIT
Repository
github
Last release
9 years ago

#Keycodez

Simple and quick keycodes map

Follow me on Twitter

Usage

First install Keycodez via npm

$ npm install keycodez --save
var keyCodez = require('keycodez');

console.log(keyCodez[13]); // enter

All Codes

CodeKey
3break
8backspaceDelete
9tab
12clear
13enter
16shift
17ctrl
18alt
19pauseBreak
20capsLock
27escape
32spacebar
33pageUp
34pageDown
35end
36home
37leftArrow
38upArrow
39rightArrow
40downArrow
41select
42print
43execute
44printScreen
45insert
46delete
480
491
502
513
524
535
546
557
568
579
65a
66b
67c
68d
69e
70f
71g
72h
73i
74j
75k
76l
77m
78n
79o
80p
81q
82r
83s
84t
85u
86v
87w
88x
89y
90z
91windowsKeyLeftCMD
92windowsKeyRight
93windowsKeyRightCMD
96numpad0
97numpad1
98numpad2
99numpad3
100numpad4
101numpad5
102numpad6
103numpad7
104numpad8
105numpad9
106multiply
107add
109subtract
110decimalPoint
111divide
112f1
113f2
114f3
115f4
116f5
117f6
118f7
119f8
120f9
121f10
122f11
123f12
124f13
125f14
126f15
127f16
128f17
129f18
130f19
144numLock
145scrollLock
173toggleMute
174decreaseVolume
175increaseVolume
181fireboxToggleMute
182firefoxDecreaseVolume
183firefoxIncreaseVolume
186semiColon
187equalSign
188comma
189dash
190period
191forwardSlash
192graveAccent
219openBracket
220backSlash
221closeBracket
222singleQuote
224firefoxCMD
225altgr
255toggleTouchpad

License

MIT License (MIT)

Copyright (c) 2015 Andrew Hathaway, https://github.com/andrewhathaway/Keycodez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.