How to Install haversine NPM Packages on Ubuntu / Debian

How to Install haversine software package in NPM Packages

haversine : A simple haversine module. You can installing haversine 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 haversine
$ sudo npm install -g haversine

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

$ sudo npm update haversine

Update package globally,

$ npm install -g haversine

Git clone:

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

haversine@1.1.0 /usr/lib/node_modules/haversine

How to remove haversine package :

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

$ sudo npm uninstall haversine

Basic Information of haversine NPM Package:

Package Name haversine
Version 1.1.0
Description A simple haversine module
Released Date 2017-11-09T12:53:25.855Z
Published by niix
How to Learn https://www.npmjs.com/package/haversine/tutorial