0.0.0 • Published 7 years ago
mondo-bongo v0.0.0
mondo-bongo
mondo-bongo is The Lightweight MongoDB Interface.
yarn add -E mondo-bongoTable Of Contents
API
The package is available by importing its default function:
import mondoBongo from 'mondo-bongo'mondoBongo( arg1: string, arg2?: boolean,): void
Call this function to get the result you want.
Config: Options for the program.
| Name | Type | Description | Default |
|---|---|---|---|
| shouldRun | boolean | A boolean option. | true |
| text* | string | A text to return. | - |
/* yarn example/ */
import mondoBongo from 'mondo-bongo'
(async () => {
const res = await mondoBongo({
text: 'example',
})
console.log(res)
})()exampleCopyright
0.0.0
7 years ago