pressable
v0.1.0
Published
Representations of pressable keys that aren't text. These are stored in the Unicode PUA (Private Use Area) code points, 0xE000-0xF8FF.
Readme
JavaScript pressable keys represented as Unicode
These are useful for sending key pressed to frameworks that expect strings, for example the Webdriver or Dalek sendKeys method.
Usage
var keys = require('pressable');
test.sendKeys('Exterminate' + keys.enter);