{"library":"watchify-middleware","type":"library","category":null,"description":"watchify-middleware is a lightweight HTTP middleware designed to enhance the development experience when working with Watchify and Browserify. It prevents stale or empty bundles from being served by suspending the server response until the bundle is ready. The middleware, currently at version 1.9.1 (last published in 2017), differentiates itself by removing the default 600ms rebuild delay common in Watchify, offering immediate feedback, and providing an optional browser-based error handler. It exposes timing information via a 'log' event and facilitates seamless integration into Node.js HTTP servers or frameworks like Express, making it ideal for rapid iteration cycles during web development. Its release cadence has been infrequent, with no major updates since its last stable release, positioning it as a mature, maintenance-mode utility.","language":"javascript","status":"maintenance","version":"1.9.1","tags":["javascript","watchify","server","fast","reload","incremental","suspend","request","response"],"last_verified":"Wed May 27","install":[{"cmd":"npm install watchify-middleware","imports":["const watchifyMiddleware = require('watchify-middleware')","const emitter = watchifyMiddleware.emitter(bundler, opt)","const middleware = watchifyMiddleware(bundler)"]},{"cmd":"yarn add watchify-middleware","imports":[]},{"cmd":"pnpm add watchify-middleware","imports":[]}],"homepage":null,"github":"https://github.com/mattdesl/watchify-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/watchify-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/watchify-middleware/compatibility"}}