{"library":"pundle-middleware","title":"Pundle Middleware","description":"Express middleware for Pundle, a JavaScript bundler. Provides development server integration with Express, enabling features like HMR and file serving. The package is part of the Pundle ecosystem, which is an alternative to Webpack. As of version 1.0.0 (stable), it is designed for advanced users. The v2.0.0-alpha1 release includes breaking changes with a complete architecture rebuild. Release cadence is sporadic with major gaps between versions. Differentiators: tight integration with Pundle's modular component system and presets.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install pundle-middleware"],"cli":null},"imports":["import pundleMiddleware from 'pundle-middleware'","import { createMiddleware } from 'pundle-middleware'","import type { PundleMiddlewareOptions } from 'pundle-middleware'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import express from 'express';\nimport pundleMiddleware from 'pundle-middleware';\nimport { createPundle } from 'pundle';\n\nconst app = express();\nconst pundle = createPundle({\n  entry: './src/index.js',\n  output: { format: 'esm', dir: './dist' },\n});\n\napp.use(pundleMiddleware(pundle, {\n  hmr: true,\n  watch: true,\n}));\n\napp.listen(3000);","lang":"typescript","description":"Shows how to integrate Pundle middleware with Express for HMR and file watching.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}