{"library":"mongodb-connection-model","type":"library","category":null,"description":"A JavaScript library for modeling MongoDB connection URIs and options. Version 22.4.1 provides a structured way to parse, validate, and serialize connection strings for the MongoDB Node.js driver. Maintained as part of the MongoDB Compass project, it aligns with driver version 5.x and validates options like TLS, authentication, and read preferences. The model converts between URI strings and objects, offering detailed validation error messages. It is released sporadically alongside Compass releases, with a focus on correctness and compatibility with the official driver.","language":"javascript","status":"active","version":"22.4.1","tags":["javascript","mongodb-js"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-connection-model","imports":["import { ConnectionModel } from 'mongodb-connection-model';","import { parseConnectionModel } from 'mongodb-connection-model';","import { toConnectionString } from 'mongodb-connection-model';"]},{"cmd":"yarn add mongodb-connection-model","imports":[]},{"cmd":"pnpm add mongodb-connection-model","imports":[]}],"homepage":"https://github.com/mongodb-js/compass","github":"https://github.com/mongodb-js/compass","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-connection-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}