How to Install react-docgen NPM Packages on Ubuntu / Debian

How to Install react-docgen software package in NPM Packages

react-docgen : A CLI and toolkit to extract information from React components for documentation generation.. You can installing react-docgen 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 react-docgen
$ sudo npm install -g react-docgen

If want to update the react-docgen package execute the command as below,

$ sudo npm update react-docgen

Update package globally,

$ npm install -g react-docgen

Git clone:

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

react-docgen@2.20.0 /usr/lib/node_modules/react-docgen

How to remove react-docgen package :

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

$ sudo npm uninstall react-docgen

Basic Information of react-docgen NPM Package:

Package Name react-docgen
Version 2.20.0
Description A CLI and toolkit to extract information from React components for documentation generation.
Released Date 2017-11-09T21:28:54.908Z
Published by danez
How to Learn https://www.npmjs.com/package/react-docgen/tutorial