How to Install timespan NPM Packages on Ubuntu / Debian

How to Install timespan software package in NPM Packages

timespan : A JavaScript TimeSpan library for node.js (and soon the browser). You can installing timespan 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 timespan
$ sudo npm install -g timespan

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

$ sudo npm update timespan

Update package globally,

$ npm install -g timespan

Git clone:

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

timespan@2.3.0 /usr/lib/node_modules/timespan

How to remove timespan package :

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

$ sudo npm uninstall timespan

Basic Information of timespan NPM Package:

Package Name timespan
Version 2.3.0
Description A JavaScript TimeSpan library for node.js (and soon the browser)
Released Date 2013-10-08T18:16:38.703Z
Published by indexzero
How to Learn https://www.npmjs.com/package/timespan/tutorial