is-touch-device
Is the current JS environment a touch device?
Last updated 9 years ago by ljharb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-touch-device 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (9 years ago)

2 Versions

  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (18)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |