1.0.1 • Published 4 years ago

is-touch-device v1.0.1

Weekly downloads
497,501
License
MIT
Repository
github
Last release
4 years ago

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');
1.0.1

4 years ago

1.0.0

4 years ago