Mongodbapi is a MongoDB interface designed to create CRUD operations (create, read, update and delete documents).
$ npm install mongodbapi
Managing docs with mongodbapi is very easy, you just need to create a mongo object passing a connection string, and then executing a CRUD operator:
let mongoapi = require('mongodbapi');
const connection = 'mongodb://127.0.0.1:27017/local';
let mongo = new mongoapi(connection);
let command = { collection: 'test' };
mongo.read(command).then( (result) => {
console.log(result);
}, (err) => {
console.log(err);
} );