is-touch true if we're in a touch-enabled context, false otherwise const isTouch = require('is-touch') // false unless you're using a touch-enabled device