@rcreager/moongo

Helper for managing APIs built on top of mongo

Usage no npm install needed!

<script type="module">
  import rcreagerMoongo from 'https://cdn.skypack.dev/@rcreager/moongo';
</script>

README

Moongo

Image of Moongo Logo

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.