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!');
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    190
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    190
  • 0.0.1
    1

Package Sidebar

Install

npm i keyboard-code

Weekly Downloads

59

Version

0.0.2

License

MIT

Last publish

Collaborators

  • mauricebutler