npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

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

install

npm i ascii-category

Downloadsweekly downloads

1

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability