{"library":"resolve-mongodb-srv","type":"library","category":null,"description":"Resolves mongodb+srv:// connection strings to mongodb:// URLs according to the MongoDB Initial DNS Seedlist Discovery specification. Acts as a pure DNS resolver, not a MongoDB driver. Version 1.1.7 is stable, released on npm. Supports ESM and includes TypeScript types. Lightweight with no runtime dependencies aside from Node.js DNS. Use when you need to resolve SRV records before passing to a MongoDB client.","language":"javascript","status":"active","version":"1.1.7","tags":["javascript","mongodb","srv","url","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install resolve-mongodb-srv","imports":["import resolveMongodbSrv from 'resolve-mongodb-srv'","import resolveMongodbSrv from 'resolve-mongodb-srv'; resolveMongodbSrv('uri', { dns })","import type ResolveOptions from 'resolve-mongodb-srv'"]},{"cmd":"yarn add resolve-mongodb-srv","imports":[]},{"cmd":"pnpm add resolve-mongodb-srv","imports":[]}],"homepage":"https://github.com/mongodb-js/resolve-mongodb-srv","github":"https://github.com/mongodb-js/resolve-mongodb-srv","docs":null,"changelog":null,"pypi":null,"npm":"resolve-mongodb-srv","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}