UNPKG

has-touch

Version:

utility that returns whether the browser supports touch events or not

18 lines (11 loc) 205 B
# has-touch > Touch support detection module on npm ## Install ```sh $ npm install --save has-touch ``` ## Usage ```js var hasTouch = require('has-touch') hasTouch === true || hasTouch === false ```