{"library":"chpr-mongodb","type":"library","category":null,"description":"Wrapper around the native MongoDB Node.js driver designed to provide robust connection management for multi-database setups, with support for model definitions and migration patterns. The current stable version is 4.0.1-force-exit, requiring Node.js >=8.9 and MongoDB >=3.2. It enforces async/await patterns and ships with built-in deprecation warnings for certain migration methods. Key differentiators include forced exit on disconnect, background index creation (configurable), and documentation for migrating from version 2.","language":"javascript","status":"active","version":"4.0.1-force-exit","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install chpr-mongodb","imports":["const { MongoDbConnector } = require('chpr-mongodb')","const { MongoDbConnector } = require('chpr-mongodb')","const { MongoDbConnector } = require('chpr-mongodb')"]},{"cmd":"yarn add chpr-mongodb","imports":[]},{"cmd":"pnpm add chpr-mongodb","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"chpr-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}