touch-detector
v1.0.1
Published
Detect whether device is touch device or not.
Downloads
11
Maintainers
Readme
touch-detector
Detects whether device is touch device or not
Installation
npm install touch-detector
Usage
var isTouch = require("touch-detector");
console.log(isTouch(), "returns true if the device is touch device else false");
API
isTouch();