detect-touch-device
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

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

Keywords

Package Sidebar

Install

npm i detect-touch-device

Weekly Downloads

432

Version

1.1.6

License

ISC

Unpacked Size

4.39 kB

Total Files

7

Last publish

Collaborators

  • sanjay.jayaram1