0.1.7 • Published 7 years ago

mont v0.1.7

Weekly downloads
6
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.6

7 years ago

0.1.4

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago