0.1.7 • Published 6 years ago
mont v0.1.7
mont
MongoDB client layer with middleware support.
Install
npm install mont
Usage
const Mont = require('mont')
const db = Mont('localhost/app')
db.get('colors')
.insert({ id: 'blue', body: { hex: '#00ff00' } })
.then(console.log)
// { id: 'blue',
// type: 'colors',
// body: { hex: '#00ff00' } }
Test
npm test
Docs
Consult Monk API docs and Koa middleware guide
License
MIT