cf-mongodb-polyfills

JSON →
library 1.0.1 ·javascript
verified Jun 5, 2026

Cloudflare Worker polyfill for net, tls, and dns modules to enable MongoDB connections inside workerd runtime. Version 1.0.1 provides polyfills leveraging cloudflare:sockets and module aliasing in wrangler.toml. This is the only package specifically addressing MongoDB connectivity in Cloudflare Workers without custom TCP implementation. Requires wrangler module aliasing configuration.