0.1.1 • Published 10 years ago

unicode-keymap v0.1.1

Weekly downloads
11
License
MIT
Repository
github
Last release
10 years ago

unicode-keymap

Mapping of key character types to Unicode PUA (Private Use Area) code points.

Build Status

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