node-w3c-keyname

Get a KeyboardEvent.key-style string from an event
  https://github.com/marijnh/w3c-keyname#readme
  0
  no reviews



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.