whatskey
What's the key? I'm confused.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install whatskey 
SYNC missed versions from official npm registry.


What's the key? I'm confused..

NPM version NPM downloads Build Status

Install

$ npm install --save whatskey

Usage

const whatskey = require('whatskey')

whatskey('⌥')
//=> Option

whatskey('⌃')
//=> Ctrl

whatskey.getCharByKeyName('Command')
//=> ⌘

API

whatskey(char)

char

The key char.

whatskey.getCharByKeyName(keyName)

keyName

The key name, eg: 'Ctrl'.

License

MIT © EGOIST

Current Tags

  • 0.1.0                                ...           latest (4 years ago)

1 Versions

  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |