How to Install shapefile NPM Packages on Ubuntu / Debian

How to Install shapefile software package in NPM Packages

shapefile : An implementation of the shapefile (.shp) spatial data format.. You can installing shapefile 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 shapefile
$ sudo npm install -g shapefile

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

$ sudo npm update shapefile

Update package globally,

$ npm install -g shapefile

Git clone:

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

shapefile@0.6.6 /usr/lib/node_modules/shapefile

How to remove shapefile package :

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

$ sudo npm uninstall shapefile

Basic Information of shapefile NPM Package:

Package Name shapefile
Version 0.6.6
Description An implementation of the shapefile (.shp) spatial data format.
Released Date 2017-09-02T22:15:21.780Z
Published by mbostock
How to Learn https://www.npmjs.com/package/shapefile/tutorial