Add/remove keyboard events.
JavaScript
Latest commit 4e210b4 Apr 9, 2016 @TehShrike TehShrike 1.0.0: Updating dependencies, testing with tape-run
Including bumping the dom-event dependency, which fixes #2

README.md

key-event

Add/remove keyboard events.

Install

$ npm install key-event

Usage

var keyEvent = require('key-event')
var removeKeyEvent = keyEvent.off

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