fetch-to-node

JSON →
library 2.1.0 ·javascript
verified Jun 7, 2026

Convert between fetch-compatible Request/Response objects and Node.js http.IncomingMessage/ServerResponse for use in WinterTC runtimes (Cloudflare Workers, Bun, Deno, Fastly Compute). v2.1.0 is stable, actively maintained, and ships TypeScript definitions. Unlike alternatives like @fastly/http-compute-js, it has zero runtime dependencies beyond Node.js compatibility shims (Readable, Writable, Buffer). Ideal for running Express or other Node.js HTTP middleware in edge environments.