High level API for key codes in node.js desktop applications. Examples:
npm install --save node-keys
Return the correct unicode sequence representing given key and control combination. Supports [a-zA-Z0-9] as input characters with any combination of ctrl - meta - shift modifiers. Usage example:
import {keys} from 'node-keys'
process.stdin.write(keys({ ctrl: true, name: 'c'})
High level string-based API
key('ctrl+c+x')
key('ctrl+shirt+arrow_left')
* support altgr for example the following is altgr-u y alt-u :
*
*
`
Generated using TypeDoc