relative-date : Javascript module for outputting relative dates.. You can installing relative-date 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 relative-date $ sudo npm install -g relative-date
If want to update the relative-date package execute the command as below,
$ sudo npm update relative-date
Update package globally,
$ npm install -g relative-date
$ sudo git clone https://github.com/rektide/relative-date.git
$ sudo npm install -g ./relative-date
relative-date@1.1.3 /usr/lib/node_modules/relative-date
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall relative-date
| Package Name | relative-date |
| Version | 1.1.3 |
| Description | Javascript module for outputting relative dates. |
| Released Date | 2016-03-23T01:49:24.334Z |
| Published by | nj48 |
| How to Learn | https://www.npmjs.com/package/relative-date/tutorial |