# input-event-name

> Transform MouseEvent/KeyboardEvent objects to readable names

Latest version **1.0.3** (published 2015-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install input-event-name
pnpm add input-event-name
yarn add input-event-name
bun add input-event-name
```

## 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.0.3 |
| Published | 2015-04-28 |
| First published | 2015-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Stephen Belanger |
| Maintainers | qard |

## Links

- npm: https://www.npmjs.com/package/input-event-name
- Repository: https://github.com/Qard/input-event-name
- Issues: https://github.com/Qard/input-event-name/issues
- npm.io page: https://npm.io/package/input-event-name

## Recent versions

- 1.0.3 (latest) — 2015-04-28
- 1.0.2 — 2015-04-27
- 1.0.1 — 2015-04-24
- 1.0.0 — 2015-04-24

## README

# input-event-name

This is a helper to transform MouseEvent and KeyboardEvent instances to a readable/parseable string. It's useful for event-emitter keys.

## Install

```sh
npm install input-event-name
```

## Usage

```js
el.addEventListener('keydown', function (e) {
  if (eventName.key(e) === 'ctrl+x') {
    // Do a thing when both ctrl and x are pressed
  }
})
```

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