Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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

140,182

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability