How to Install timeago NPM Packages on Ubuntu / Debian

How to Install timeago software package in NPM Packages

timeago : jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. 4 minutes ago or about 1 day ago).. You can installing timeago 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 timeago
$ sudo npm install -g timeago

If want to update the timeago package execute the command as below,

$ sudo npm update timeago

Update package globally,

$ npm install -g timeago

Git clone:

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

timeago@1.6.1 /usr/lib/node_modules/timeago

How to remove timeago package :

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

$ sudo npm uninstall timeago

Basic Information of timeago NPM Package:

Package Name timeago
Version 1.6.1
Description jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. 4 minutes ago or about 1 day ago).
Released Date 2017-07-18T15:13:55.737Z
Published by rmm5t
How to Learn https://www.npmjs.com/package/timeago/tutorial