Express middleware for development with esbuild. Bundles TypeScript/JavaScript source files in memory, serves them directly, and automatically reloads the browser on file changes via Server-Sent Events. Current stable version is 0.8.0. Peer dependency on esbuild >0.17. Key differentiators: zero-config live reload injection, no disk writes, mounts as Express Router, merges loader and plugin configs so you can extend defaults. Best for teams that already use Express and esbuild and want a lightweight dev server without Webpack or Vite.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM-only; in TypeScript, you can also use the named export 'devRouter'
Both default and named exports point to the same function. The named export may be easier in some bundler setups.
Re-exports esbuild's BuildOptions type for convenience. Use it to type your config object.
Sets up a basic Express dev server with esbuild-dev-router, bundling src/index.ts into memory and serving static files from public/.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.