# is-touch-device <sup>[![Version Badge][2]][1]</sup>
[![Build Status][3]][4]
[![dependency status][5]][6]
[![dev dependency status][7]][8]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![npm badge][9]][1]
Is the current JS environment a touch device?
## Usage
```javascript
var isTouchDevice = require('is-touch-device');
var assert = require('assert');
assert.equal(typeof isTouchDevice(), 'boolean');
```
[1]: https://npmjs.org/package/is-touch-device
[2]: http://versionbadg.es/airbnb/is-touch-device.svg
[3]: https://api.travis-ci.org/airbnb/is-touch-device.svg
[4]: https://travis-ci.org/airbnb/is-touch-device
[5]: https://david-dm.org/airbnb/is-touch-device.svg
[6]: https://david-dm.org/airbnb/is-touch-device
[7]: https://david-dm.org/airbnb/is-touch-device/dev-status.svg
[8]: https://david-dm.org/airbnb/is-touch-device?type=dev
[9]: https://nodei.co/npm/is-touch-device.png?downloads=true&stars=true
[license-image]: http://img.shields.io/npm/l/is-touch-device.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/is-touch-device.svg
[downloads-url]: http://npm-stat.com/charts.html?package=is-touch-device