is-touch-device
Is the current JS environment a touch device?
Last updated 3 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 (3 years ago)

2 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 20
This Week 316
This Month 350
Last Day 67
Last Week 1,090
Last Month 2,558
Dependencies (0)
None
Dev Dependencies (18)

Copyright 2014 - 2017 © taobao.org |