nearkeys

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i nearkeys

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • matthewoates08