pretty-ms : Convert milliseconds to a human readable string: `1337000000` ? `15d 11h 23m 20s`. You can installing pretty-ms 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-ms $ sudo npm install -g pretty-ms
If want to update the pretty-ms package execute the command as below,
$ sudo npm update pretty-ms
Update package globally,
$ npm install -g pretty-ms
$ sudo git clone https://github.com/rektide/pretty-ms.git
$ sudo npm install -g ./pretty-ms
pretty-ms@3.1.0 /usr/lib/node_modules/pretty-ms
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pretty-ms
| Package Name | pretty-ms |
| Version | 3.1.0 |
| Description | Convert milliseconds to a human readable string: `1337000000` ? `15d 11h 23m 20s` |
| Released Date | 2017-11-20T11:17:49.041Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/pretty-ms/tutorial |