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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pretty-time
| 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 |