ascii-category

1.0.1 • Public • Published

ascii-category

npm GitHub Travis (.org) Code Climate Blazing Fast

Attribute category from a key code or character.

Install

npm i ascii-category

Usage

import * as ascii from 'ascii-category'

or if you're old-school:

var ascii = require('ascii-category')

API

> const key = 48
> ascii.isDigit(key)
true
> event.which === ascii.Enter
true | false

Docs

Go to http://blog.werlangtecnologia.com.br/ascii-category/

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i ascii-category

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

406 kB

Total Files

41

Last publish

Collaborators

  • awerlang