Extended MongoDB Client (v1.2.1) is a thin wrapper around the official MongoDB Node.js driver, adding convenience methods and default configurations. It provides a simplified interface for common operations like connection management, CRUD, and aggregation, with built-in retry logic and connection pooling. Notable features include automatic reconnection, typed schemas, and plugin support. Designed for Node.js applications using MongoDB as a primary database, it abstracts boilerplate code while retaining access to the full driver API. Release cadence is irregular; currently stable. Differentiators: lightweight with minimal overhead compared to larger ORMs like Mongoose, and TypeScript-first with comprehensive type definitions.
npm install extended-mongodb-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates connection, insertion, and query using the ExtendedMongoClient wrapper.
Update connection string if relying on default port change.
Replace `createIndex` with `createIndexes`.
Set `connectTimeoutMS` in options to increase timeout.
Refactor callback-based code to async/await.
Replace `update` with `updateOne` or `updateMany`.
Use `import ExtendedMongoClient from 'extended-mongodb-client'`
Check that URI includes username:password@host/authDb if authentication is enabled.
Ensure mongod is running and accessible at the specified host and port.