šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

ascii-category

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ascii-category

[![npm](https://img.shields.io/npm/v/ascii-category.svg)](https://www.npmjs.com/package/ascii-category) [![GitHub](https://img.shields.io/github/license/awerlang/ascii-category.svg)](https://opensource.org/licenses/MIT) [![Travis (.org)](https://img.shi

1.0.1
latest
Source
npm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
Ā 
Created
Source

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

Keywords

ascii

FAQs

Package last updated on 09 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts