Thin MongoDB wrapper that provides a lightweight, promise-based interface for MongoDB operations with a simplified API. Stable version 2.0.8, last updated 2020 (unmaintained since). Key differentiator: minimal abstraction over the official MongoDB driver, focusing on core CRUD operations without bloat. Currently in maintenance mode; no active development. Requires Node >=7.0.0.
npm install mongodb-lightNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic connect, insert, and find operations using mongodb-light.
Consider migrating to the official mongodb package or other maintained wrappers.
Run 'npm install mongodb' alongside mongodb-light.
Use ES import syntax or switch to a CJS-compatible library.
Install it: npm install mongodb
Use import { connect } from 'mongodb-light' instead of import mongo from ...Convert to ES imports or use dynamic import() if needed.