0.1.7 • Published 6 years ago

mont v0.1.7

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

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

0.1.7

6 years ago

0.1.6

6 years ago

0.1.4

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago