# spa-keys

> Keyboard keys codes.

Latest version **1.4.2** (published 2018-08-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install spa-keys
pnpm add spa-keys
yarn add spa-keys
bun add spa-keys
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2018-08-14 |
| First published | 2015-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stanislav Kalashnik |
| Maintainers | spasdk |
| Keywords | spa, sdk, spasdk, framework, keyboard, keys, codes |

## Links

- npm: https://www.npmjs.com/package/spa-keys
- Repository: https://github.com/spasdk/keys
- Homepage: https://github.com/spasdk/keys#readme
- Issues: https://github.com/spasdk/keys/issues
- npm.io page: https://npm.io/package/spa-keys

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 1.4.2 (latest) — 2018-08-14
- 1.4.1 — 2016-11-02
- 1.4.0 — 2016-10-21
- 1.3.0 — 2015-12-28

## README

Keyboard keys codes
===================

[![build status](https://img.shields.io/travis/spasdk/keys.svg?style=flat-square)](https://travis-ci.org/spasdk/keys)
[![npm version](https://img.shields.io/npm/v/spa-keys.svg?style=flat-square)](https://www.npmjs.com/package/spa-keys)
[![dependencies status](https://img.shields.io/david/spasdk/keys.svg?style=flat-square)](https://david-dm.org/spasdk/keys)
[![devDependencies status](https://img.shields.io/david/dev/spasdk/keys.svg?style=flat-square)](https://david-dm.org/spasdk/keys?type=dev)
[![Gitter](https://img.shields.io/badge/gitter-join%20chat-blue.svg?style=flat-square)](https://gitter.im/DarkPark/spasdk)


Generated by keyboards key codes used in SPA applications.


## Installation ##

```bash
npm install spa-keys
```


## Usage ##

Add to the scope:

```js
var keys = require('spa-keys');
```

In some event handler:

```js
if ( event.code === keys.enter ) {
    /* ... */
}
```


## Contribution ##

If you have any problems or suggestions please open an [issue](https://github.com/spasdk/keys/issues)
according to the contribution [rules](.github/contributing.md).


## License ##

`spa-keys` is released under the [MIT License](license.md).

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