> exports a KeyCode type for use in web browsers based on [W3C standards][1]
npm install keyboardevent-codes> exports a KeyCode type for use in web browsers based on [W3C standards][1]
``ts
import { KeyCode } from 'keyboardevent-codes';
window.addEventListener('keydown', (event: KeyboardEvent) => {
const keyCode =
});
``
[1]: https://www.w3.org/TR/uievents-code/