A lightweight promise wrapper around the node-mongodb-native driver. Version 0.0.4, last release circa 2014. Provides a thin layer that returns promises for common MongoDB operations like connect, insert, find, and stats. No longer actively developed; the official MongoDB driver now has built-in promise support via async/await. Differentiator: early promise-based interface for MongoDB before the native driver added promises.
npm install mongodb-promiseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MongoDB, retrieves database stats, and logs them using promise chaining with .fail for error handling.
Use mongodb driver v2+: const MongoClient = require('mongodb').MongoClient;Replace .fail() with .catch() if you can customize, or avoid this library.
Always chain .then() on db.collection() before using the collection.
npm install mongodb-promise --save
Ensure you are using version 0.0.4 or later.
No dependency data recorded yet.