{"library":"cf-mongodb-polyfills","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","cloudflare","worker","mongodb","polyfill"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install cf-mongodb-polyfills","imports":["import {} from '@jchoi2x/cf-mongodb-polyfills/net'; // via alias in wrangler.toml","// aliased in wrangler.toml: 'tls' = '@jchoi2x/cf-mongodb-polyfills/tls'","// aliased in wrangler.toml: 'dns' = '@jchoi2x/cf-mongodb-polyfills/dns'","import { MongoClient } from 'mongodb';"]},{"cmd":"yarn add cf-mongodb-polyfills","imports":[]},{"cmd":"pnpm add cf-mongodb-polyfills","imports":[]}],"homepage":"https://github.com/jchoi2x/cf-mongodb-polyfills#readme","github":"https://github.com/jchoi2x/cf-mongodb-polyfills","docs":null,"changelog":null,"pypi":null,"npm":"cf-mongodb-polyfills","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}