Skip to content

airbnb/is-touch-device

Repository files navigation

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

About

Is the current JS environment a touch device?

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages