date-time : Pretty datetime: `2014-01-09 06:46:01`. You can installing date-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 date-time $ sudo npm install -g date-time
If want to update the date-time package execute the command as below,
$ sudo npm update date-time
Update package globally,
$ npm install -g date-time
$ sudo git clone https://github.com/rektide/date-time.git
$ sudo npm install -g ./date-time
date-time@2.1.0 /usr/lib/node_modules/date-time
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall date-time
Package Name | date-time |
Version | 2.1.0 |
Description | Pretty datetime: `2014-01-09 06:46:01` |
Released Date | 2017-06-29T17:58:49.006Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/date-time/tutorial |