How to Install hammerjs NPM Packages on Ubuntu / Debian

How to Install hammerjs software package in NPM Packages

hammerjs : A javascript library for multi-touch gestures. You can installing hammerjs 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 hammerjs
$ sudo npm install -g hammerjs

If want to update the hammerjs package execute the command as below,

$ sudo npm update hammerjs

Update package globally,

$ npm install -g hammerjs

Git clone:

$ sudo  git clone https://github.com/rektide/hammerjs.git
$ sudo  npm install -g ./hammerjs

hammerjs@2.0.8 /usr/lib/node_modules/hammerjs

How to remove hammerjs package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall hammerjs

Basic Information of hammerjs NPM Package:

Package Name hammerjs
Version 2.0.8
Description A javascript library for multi-touch gestures
Released Date 2016-04-22T16:14:57.222Z
Published by arschmitz
How to Learn https://www.npmjs.com/package/hammerjs/tutorial