# 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

Latest version **1.0.1** (published 2018-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install ascii-category
pnpm add ascii-category
yarn add ascii-category
bun add ascii-category
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-08-09 |
| First published | 2018-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 396.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | André Werlang |
| Maintainers | awerlang |
| Keywords | ascii, keyboard, key, codes, ansi, char, codes, keydown, keypress, keyup |

## Links

- npm: https://www.npmjs.com/package/ascii-category
- Repository: https://github.com/awerlang/ascii-category
- Homepage: https://github.com/awerlang/ascii-category#readme
- Issues: https://github.com/awerlang/ascii-category/issues
- npm.io page: https://npm.io/package/ascii-category

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-08-09
- 1.0.0 — 2018-08-09

## README

# 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.shields.io/travis/awerlang/ascii-category.svg)](https://travis-ci.org/awerlang/ascii-category)
[![Code Climate](https://codeclimate.com/github/awerlang/ascii-category/badges/gpa.svg)](https://codeclimate.com/github/awerlang/ascii-category)
<a href="https://twitter.com/acdlite/status/974390255393505280"><img src="https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg" alt="Blazing Fast"></a>

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

---
_Source: https://npm.io/package/ascii-category · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
