key
keydown
npm i keydown
key

keydown

client side module for firing events when keys are pressed down

by Max Ogden

0.0.3 (see all)License:BSDTypeScript:Not Found
npm i keydown
Readme

keydown

NPM

client side module for firing events when keys are pressed down. uses vkey definitions

usage

var keydown = require('keydown')

var kd = keydown(['<control>', 'a'])

kd.on('pressed', function() {
  // control + a are both pressed right now
})

Downloads/wk

265

GitHub Stars

22

LAST COMMIT

9yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

1

OPEN PRs

2
VersionTagPublished
0.0.3
latest
9yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate