@rcreager/moongo
v1.1.0-alpha
Published
Helper for managing APIs built on top of mongo
Downloads
2
Readme
Moongo
Moongo is a helpful wrapper for Mongo collections.
Installation
npm install @rcreager/moongo
Example
Basic Example
const moongo = require('@rcreager/moongo')
const pokemonCollection = moongo.collection(pokemon)
module.exports = pokemonCollection
More Examples
Contributing
Before submitting a pull request
- Follow eslint rules
- Add unit tests for any new code or fixed bug
License
Moongo is MIT licensed.