unicode-keymap
v0.1.1
Published
Mapping of key character types to Unicode PUA (Private Use Area) code points.
Downloads
282
Maintainers
Readme
unicode-keymap
Mapping of key character types to Unicode PUA (Private Use Area) code points.
Overview
Implementation of the W3C WebDriver spec that provides an object that maps character types to UNICODE characters.
This module was raised to satisfy the need for any keys-based interaction or testing that needs to simulate
a sequence of keyboard events representing the keys in the keysToSend
parameter of the
sendKeys
WEBIDL method.
Installation
Install with npm:
$ npm install unicode-keymap
Usage
For node:
var keys = require('unicode-keymap');
keys.ENTER
// -> \uE007
License
MIT