How to Install webpack-dev-middleware NPM Packages on Ubuntu / Debian

How to Install webpack-dev-middleware software package in NPM Packages

webpack-dev-middleware : Offers a dev middleware for webpack, which arguments a live bundle to a directory. You can installing webpack-dev-middleware 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 webpack-dev-middleware
$ sudo npm install -g webpack-dev-middleware

If want to update the webpack-dev-middleware package execute the command as below,

$ sudo npm update webpack-dev-middleware

Update package globally,

$ npm install -g webpack-dev-middleware

Git clone:

$ sudo  git clone https://github.com/rektide/webpack-dev-middleware.git
$ sudo  npm install -g ./webpack-dev-middleware

webpack-dev-middleware@1.12.1 /usr/lib/node_modules/webpack-dev-middleware

How to remove webpack-dev-middleware package :

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

$ sudo npm uninstall webpack-dev-middleware

Basic Information of webpack-dev-middleware NPM Package:

Package Name webpack-dev-middleware
Version 1.12.1
Description Offers a dev middleware for webpack, which arguments a live bundle to a directory
Released Date 2017-11-22T17:50:27.130Z
Published by shellscape
How to Learn https://www.npmjs.com/package/webpack-dev-middleware/tutorial