moment : Parse, validate, manipulate, and display dates. You can installing moment 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 moment $ sudo npm install -g moment
If want to update the moment package execute the command as below,
$ sudo npm update moment
Update package globally,
$ npm install -g moment
$ sudo git clone https://github.com/rektide/moment.git
$ sudo npm install -g ./moment
moment@2.19.2 /usr/lib/node_modules/moment
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall moment
Package Name | moment |
Version | 2.19.2 |
Description | Parse, validate, manipulate, and display dates |
Released Date | 2017-11-11T20:34:47.676Z |
Published by | ichernev |
How to Learn | https://www.npmjs.com/package/moment/tutorial |