/key-event

Add/remove keyboard events.

Primary LanguageJavaScript

bind-key

Add/remove keyboard events.

Install

$ npm install bind-key

Usage

var bindKey = require('bind-key')
var off = bindKey.off

bindKey(element, 'ctrl alt u', function (event) {
  console.log('hi!')
})