is-touch-device
Is the current JS environment a touch device?
Usage
var isTouchDevice = require('is-touch-device');
var assert = require('assert');
assert.equal(typeof isTouchDevice(), 'boolean');
Is the current JS environment a touch device?
Homepage Repository npm JavaScript Download
npm install is-touch-device@1.0.1