# user-input-touch

> User input tracking for the touch.

Latest version **1.0.2** (published 2019-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install user-input-touch
pnpm add user-input-touch
yarn add user-input-touch
bun add user-input-touch
```

## 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.2 |
| Published | 2019-06-22 |
| First published | 2017-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 103.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Christopher Jacobs |
| Maintainers | apexearth |
| Keywords | user, input, touch |

## Links

- npm: https://www.npmjs.com/package/user-input-touch
- Repository: https://github.com/apexearth/user-input-touch
- Homepage: https://github.com/apexearth/user-input-touch#readme
- Issues: https://github.com/apexearth/user-input-touch/issues
- npm.io page: https://npm.io/package/user-input-touch

## Dependencies (1)

- [touch-events2](https://npm.io/package/touch-events2.md) ^1.0.0

## Recent versions

- 1.0.2 (latest) — 2019-06-22
- 1.0.1 — 2017-06-18
- 1.0.0 — 2017-06-18

## README

# user-input-touch

![](https://travis-ci.org/apexearth/user-input-touch.svg)

Touch input state tracking, used by the `user-input` package.
Useful for game-loop style applications.

## Usage

[![NPM](https://nodei.co/npm/user-input-touch.png)](https://nodei.co/npm/user-input-touch/)

    var touch = window.touchInput(document)
    
    touch.touches        // Array of last touches.
    touch.changedTouches // Array of last changed touches.
    
## Tests

- Mocha
    - Test functionality in Node.js
    - `npm test`
- User Test
    - Test functionality in browser.
    - `npm user-test`

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