A thin wrapper around the node-mongodb-native driver that returns Bluebird promises instead of callbacks or raw promises. Version 0.1.2 is the latest and only release. It adds convenience methods like findById and automatic ObjectId conversion for _id fields. Not actively maintained; superseded by the built-in promise support in the MongoDB driver (using native Promise or Bluebird via options).
npm install mongodb-bluebirdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to MongoDB, queries all documents from the 'users' collection, logs them, and closes the connection.
Use `const MongoClient = require('mongodb').MongoClient;` with `useNewUrlParser` and `useUnifiedTopology` options, and either native promises or Bluebird via `promiseLibrary` option.Manually define types or use `@types/mongodb` and cast as needed.
Disable ObjectId conversion with `db.collection('users', { ObjectId: false })` or validate _id strings beforehand.Upgrade to a modern MongoDB driver with promise support to avoid deprecated API errors.
Run `npm install mongodb-bluebird` and ensure the package name is correct.
Use `import mongo from 'mongodb-bluebird'` or `const mongo = require('mongodb-bluebird')`.Ensure the MongoDB server is running and the URI is correct. Add error handling on the connect promise.