node-w3c-keyname

Get a KeyboardEvent.key-style string from an event

Description

Tiny library that exports a function keyName that takes a keyboard event and returns a KeyboardEvent.key-style string. Will use the actual key property of the event if available, and fall back to a value synthesized from the keyCode otherwise.

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/marijnh/w3c-keyname#readme


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-w3c-keyname