How to Install pretty-time NPM Packages on Ubuntu / Debian

How to Install pretty-time software package in NPM Packages

pretty-time : Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.. You can installing pretty-time 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 pretty-time
$ sudo npm install -g pretty-time

If want to update the pretty-time package execute the command as below,

$ sudo npm update pretty-time

Update package globally,

$ npm install -g pretty-time

Git clone:

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

pretty-time@0.2.0 /usr/lib/node_modules/pretty-time

How to remove pretty-time package :

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

$ sudo npm uninstall pretty-time

Basic Information of pretty-time NPM Package:

Package Name pretty-time
Version 0.2.0
Description Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.
Released Date 2015-10-21T00:38:42.310Z
Published by doowb
How to Learn https://www.npmjs.com/package/pretty-time/tutorial