mapbox-gl : A WebGL interactive maps library. You can installing mapbox-gl 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 mapbox-gl $ sudo npm install -g mapbox-gl
If want to update the mapbox-gl package execute the command as below,
$ sudo npm update mapbox-gl
Update package globally,
$ npm install -g mapbox-gl
$ sudo git clone https://github.com/rektide/mapbox-gl.git
$ sudo npm install -g ./mapbox-gl
mapbox-gl@0.42.2 /usr/lib/node_modules/mapbox-gl
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mapbox-gl
| Package Name | mapbox-gl |
| Version | 0.42.2 |
| Description | A WebGL interactive maps library |
| Released Date | 2017-11-21T21:39:05.645Z |
| Published by | jfirebaugh |
| How to Learn | https://www.npmjs.com/package/mapbox-gl/tutorial |