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

How to Install humanize-duration software package in NPM Packages

humanize-duration : Convert millisecond durations to English and many other languages.. You can installing humanize-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 humanize-duration
$ sudo npm install -g humanize-duration

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

$ sudo npm update humanize-duration

Update package globally,

$ npm install -g humanize-duration

Git clone:

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

humanize-duration@3.12.0 /usr/lib/node_modules/humanize-duration

How to remove humanize-duration package :

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

$ sudo npm uninstall humanize-duration

Basic Information of humanize-duration NPM Package:

Package Name humanize-duration
Version 3.12.0
Description Convert millisecond durations to English and many other languages.
Released Date 2017-11-07T17:12:48.520Z
Published by evanhahn
How to Learn https://www.npmjs.com/package/humanize-duration/tutorial