How to Install moment-duration-format NPM Packages on Ubuntu / Debian

How to Install moment-duration-format software package in NPM Packages

moment-duration-format : A moment.js plugin for formatting durations.. You can installing moment-duration-format 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 moment-duration-format
$ sudo npm install -g moment-duration-format

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

$ sudo npm update moment-duration-format

Update package globally,

$ npm install -g moment-duration-format

Git clone:

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

moment-duration-format@1.3.0 /usr/lib/node_modules/moment-duration-format

How to remove moment-duration-format package :

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

$ sudo npm uninstall moment-duration-format

Basic Information of moment-duration-format NPM Package:

Package Name moment-duration-format
Version 1.3.0
Description A moment.js plugin for formatting durations.
Released Date 2014-07-28T05:22:50.064Z
Published by jsmreese
How to Learn https://www.npmjs.com/package/moment-duration-format/tutorial