simple-mongo-driver
A simpler facade for mongodb node.js driver
Install
npm i --save simple-mongo-driver
How to use
const Mongo = let db = await Mongolet collection = dbawait collection
Check here for more.
API
isValidObjectId
getDatabase
isConnected,
connect
disconnect
dropDatabase
Linting
npm run lint
Testing
npm run test
Contributing
Contributions will be highly appreciated.
Feel free to open any issues on any related matter.
LICENSE
Code released under the MIT.