nearkeys
v1.2.0
Published
Return neighboring keys given a key on a keyboard
Downloads
2
Readme
nearkeys
get neighboring keys on a keyboard
Behavior
This package when given a key on a keyboard, will return the neighboring keys. as of v1.0, this does not support capitalized inputs
Installation
Node.js
npm install nearkeys
In the browser
<script src="nearkeys.js"/>
Usage
var nearkeys = require('nearkeys');
nearkeys.getKeys('s'); // ['q', 'w', 'e', 'a', 'd', 'z', 'x']
License
MIT