leaflet-draw : Vector drawing plugin for Leaflet. You can installing leaflet-draw 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 leaflet-draw $ sudo npm install -g leaflet-draw
If want to update the leaflet-draw package execute the command as below,
$ sudo npm update leaflet-draw
Update package globally,
$ npm install -g leaflet-draw
$ sudo git clone https://github.com/rektide/leaflet-draw.git
$ sudo npm install -g ./leaflet-draw
leaflet-draw@0.4.13 /usr/lib/node_modules/leaflet-draw
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall leaflet-draw
Package Name | leaflet-draw |
Version | 0.4.13 |
Description | Vector drawing plugin for Leaflet |
Released Date | 2017-11-13T15:50:04.788Z |
Published by | ddproxy |
How to Learn | https://www.npmjs.com/package/leaflet-draw/tutorial |