How to Install body-parser NPM Packages on Ubuntu / Debian

How to Install body-parser software package in NPM Packages

body-parser : Node.js body parsing middleware. You can installing body-parser 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 body-parser
$ sudo npm install -g body-parser

If want to update the body-parser package execute the command as below,

$ sudo npm update body-parser

Update package globally,

$ npm install -g body-parser

Git clone:

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

body-parser@1.18.2 /usr/lib/node_modules/body-parser

How to remove body-parser package :

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

$ sudo npm uninstall body-parser

Basic Information of body-parser NPM Package:

Package Name body-parser
Version 1.18.2
Description Node.js body parsing middleware
Released Date 2017-09-22T16:50:10.944Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/body-parser/tutorial