d3-zoom : Pan and zoom SVG, HTML or Canvas using mouse or touch input.. You can installing d3-zoom 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 d3-zoom $ sudo npm install -g d3-zoom
If want to update the d3-zoom package execute the command as below,
$ sudo npm update d3-zoom
Update package globally,
$ npm install -g d3-zoom
$ sudo git clone https://github.com/rektide/d3-zoom.git
$ sudo npm install -g ./d3-zoom
d3-zoom@1.7.1 /usr/lib/node_modules/d3-zoom
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall d3-zoom
Package Name | d3-zoom |
Version | 1.7.1 |
Description | Pan and zoom SVG, HTML or Canvas using mouse or touch input. |
Released Date | 2017-10-30T14:14:21.380Z |
Published by | mbostock |
How to Learn | https://www.npmjs.com/package/d3-zoom/tutorial |