How We Rebuilt Cloudflare Workers' Module Registry for Node.js Compatibility
Cloudflare, Wednesday, September 9th, 2026
A rewritten module registry brings Node.js compatibility by default and supports applications up to 64 mebibytes.
Cloudflare rewrote the Workers module registry to make Node.js compatibility the default rather than an opt-in flag, supporting applications up to 64 mebibytes.
The rebuild adds proper import.meta support, URL-based module resolution and lazy compilation. The practical effect is that a much larger share of existing npm packages now work on Workers without modification, which removes the main obstacle teams hit when evaluating edge deployment for existing Node services.
The post covers the compatibility decisions and where divergence from Node remains.