has-touch : utility that returns whether the browser supports touch events or not. You can installing has-touch npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install has-touch $ sudo npm install -g has-touch
If want to update the has-touch package execute the command as below,
$ sudo npm update has-touch
Update package globally,
$ npm install -g has-touch
$ sudo git clone https://github.com/rektide/has-touch.git
$ sudo npm install -g ./has-touch
has-touch@1.0.1 /usr/lib/node_modules/has-touch
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall has-touch
Package Name | has-touch |
Version | 1.0.1 |
Description | utility that returns whether the browser supports touch events or not |
Released Date | 2015-02-04T08:43:31.906Z |
Published by | radubrehar |
How to Learn | https://www.npmjs.com/package/has-touch/tutorial |