How to Install moment-range NPM Packages on Ubuntu / Debian

How to Install moment-range software package in NPM Packages

moment-range : Fancy date ranges for Moment.js. You can installing moment-range 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-range
$ sudo npm install -g moment-range

If want to update the moment-range package execute the command as below,

$ sudo npm update moment-range

Update package globally,

$ npm install -g moment-range

Git clone:

$ sudo  git clone https://github.com/rektide/moment-range.git
$ sudo  npm install -g ./moment-range

moment-range@3.0.3 /usr/lib/node_modules/moment-range

How to remove moment-range package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall moment-range

Basic Information of moment-range NPM Package:

Package Name moment-range
Version 3.0.3
Description Fancy date ranges for Moment.js
Released Date 2017-02-28T23:50:22.699Z
Published by gf3
How to Learn https://www.npmjs.com/package/moment-range/tutorial