How to Install hosted-git-info NPM Packages on Ubuntu / Debian

How to Install hosted-git-info software package in NPM Packages

hosted-git-info : Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab. You can installing hosted-git-info 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 hosted-git-info
$ sudo npm install -g hosted-git-info

If want to update the hosted-git-info package execute the command as below,

$ sudo npm update hosted-git-info

Update package globally,

$ npm install -g hosted-git-info

Git clone:

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

hosted-git-info@2.5.0 /usr/lib/node_modules/hosted-git-info

How to remove hosted-git-info package :

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

$ sudo npm uninstall hosted-git-info

Basic Information of hosted-git-info NPM Package:

Package Name hosted-git-info
Version 2.5.0
Description Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab
Released Date 2017-06-26T20:25:47.232Z
Published by iarna
How to Learn https://www.npmjs.com/package/hosted-git-info/tutorial