chpr-mongodb

JSON →
library 4.0.1-force-exit ·javascript
verified Jun 5, 2026

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.