{"library":"webpack-middleware","type":"library","category":null,"description":"webpack-middleware is a wrapper that enables running the Webpack compiler as a middleware for Connect-compatible servers like Express.js or Browsersync. It serves compiled assets from memory, offering faster rebuilds during development without writing files to disk. This specific package, at version 1.5.1, is a fork of `webpack-dev-middleware` designed to better support isomorphic (mixed web/Node.js) bundles. However, it has not been updated since 2016 and is tied to Webpack versions less than 3, making it incompatible with modern Webpack 4 or 5. Users should generally prefer the actively maintained `webpack-dev-middleware` for current projects.","language":"javascript","status":"abandoned","version":"1.5.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-middleware","imports":["import webpack from 'webpack';","import webpackMiddleware from 'webpack-middleware';","const instance = webpackMiddleware(compiler); instance.close();"]},{"cmd":"yarn add webpack-middleware","imports":[]},{"cmd":"pnpm add webpack-middleware","imports":[]}],"homepage":null,"github":"https://github.com/kriasoft/webpack-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webpack-middleware/compatibility"}}