@endb/mongo
v1.3.0
Published
MongoDB adapter for Endb
Downloads
17
Maintainers
Readme
@endb/mongo
MongoDB adapter for Endb
Installation
npm install @endb/mongo
Usage
const Endb = require('endb');
const endb = new Endb('mongodb://user:pass@localhost:27017/dbname');
const EndbMongo = require('@endb/mongo');
const store = new EndbMongo({
uri: 'mongodb://user:pass@localhost:27017/dbname',
collection: 'cache',
});
const endb = new Endb({ store });