duration : Time duration utilities. You can installing duration 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 duration $ sudo npm install -g duration
If want to update the duration package execute the command as below,
$ sudo npm update duration
Update package globally,
$ npm install -g duration
$ sudo git clone https://github.com/rektide/duration.git
$ sudo npm install -g ./duration
duration@0.2.0 /usr/lib/node_modules/duration
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall duration
Package Name | duration |
Version | 0.2.0 |
Description | Time duration utilities |
Released Date | 2014-04-27T15:26:48.636Z |
Published by | medikoo |
How to Learn | https://www.npmjs.com/package/duration/tutorial |