Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@zippytech/has-touch

zippytech28MIT2.0.2

utility that returns whether the browser supports touch events or not

touch, has, test, support, event, events

readme

has-touch

Touch support detection module on npm

Install

$ npm install --save @zippytech/has-touch

Usage

var hasTouch = require('@zippytech/has-touch')

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

LICENSE

MIT