has-touch

utility that returns whether the browser supports touch events or not

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
has-touch
1.0.18 years ago8 years agoMinified + gzip package size for has-touch in KB

Readme

has-touch
Touch support detection module on npm

Install

$ npm install --save has-touch

Usage

var hasTouch = require('has-touch')

hasTouch === true || hasTouch === false