Miss any of our Open RFC calls?Watch the recordings here! »

is-touch-device

1.0.1 • Public • Published

is-touch-device Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Is the current JS environment a touch device?

Usage

var isTouchDevice = require('is-touch-device');
var assert = require('assert');
 
assert.equal(typeof isTouchDevice(), 'boolean');

Install

npm i is-touch-device

DownloadsWeekly Downloads

434,434

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar