set-touch-class Sets className on the HTML element to "touch" or "no-touch" based on touch support in the browser. Install npm install --save set-touch-class Usage require('set-touch-class');