Humanize keys (command -> ⌘)
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
index.js

Readme.md

humanize-keys

Humanize key names such as "command" and turn them into nice terse unicode chars ⌘. Shitty name for this module since ⌘ is arguably less human-readable, but fuck it. AINT GOT TIME FOR DAT

Installation

Install with component(1):

$ component install component/humanize-keys

API

humanize(key)

Pass in a key such as "command" and return the unicode representation or the original key.

License

MIT