detect-touch-device
v1.1.6
Published
Javascript library to detect touch friendly devices
Downloads
3,031
Maintainers
Readme
detect-touch-device
Javascript library to detect touch friendly devices. This is a wrapper for the implementation from mozilla
Installation
npm install detect-touch-device
Usage
JavaScript
var isMobile = require('detect-touch-device');
console.log(isMobile);
TypeScript
import { isMobile } from 'detect-touch-device';
console.log(isMobile);