How to Install parse-duration NPM Packages on Ubuntu / Debian

How to Install parse-duration software package in NPM Packages

parse-duration : convert a human readable duration string to ms. You can installing parse-duration 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 parse-duration
$ sudo npm install -g parse-duration

If want to update the parse-duration package execute the command as below,

$ sudo npm update parse-duration

Update package globally,

$ npm install -g parse-duration

Git clone:

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

parse-duration@0.1.1 /usr/lib/node_modules/parse-duration

How to remove parse-duration package :

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

$ sudo npm uninstall parse-duration

Basic Information of parse-duration NPM Package:

Package Name parse-duration
Version 0.1.1
Description convert a human readable duration string to ms
Released Date 2014-06-06T02:46:08.703Z
Published by jkroso
How to Learn https://www.npmjs.com/package/parse-duration/tutorial