DEPRECATION NOTICE
⚠ This repository has been deprecated and archived in favor of the new mongodb-proper-repository. This means its NPM package will be soon removed.
Read more about here.
mongodb-pro
A wrapper that encapsulates MongoDB Node.js driver, mongo-xcollection and other useful features.
Example
const db = await MongoDb.connect('mongodb://yourconnectionstring', 'dbname');
const dbrother = db.siblingDb('dbname2');
const Users = db.xcollection('users');
const users = Users.find({});
db.close();