0.2.1 • Published 8 years ago

agumongo v0.2.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

agumongo

Build Status

Install

npm i --save agumongo

Usage

import agumongo from 'agumongo'

await agumongo.init({ url: 'mongodb://foo' })
const docs = await agumongo.find('fooCollection', { id: 1 })

Api

They all return promises.

TODO write more

-init({ url: string }) => Promise

- close() => Promise

- find(key: string) => Promise

- insert(key: string) => Promise

- update(key: string) => Promise

- delete(key: string) => Promise

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago