Have ideas to improve npm?Join in the discussion! »

keyboard-code

0.0.2 • Public • Published

keyboard-code

Watches for a defined set of keyboard inputs then fires a callback

Installation

npm install keyboard-code

Usage

var KeyboardCode = require('keyboard-code');

new KeyboardCode([13, 13, 13], function(){
    alert('Enter 3 times!');
});

Install

npm i keyboard-code

DownloadsWeekly Downloads

45

Version

0.0.2

License

MIT

Last publish

Collaborators

  • avatar