# @themost/mongo

> MOST Web Framework MongoDB Data Adapter

Latest version **2.1.1** (published 2019-09-05) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @themost/mongo
pnpm add @themost/mongo
yarn add @themost/mongo
bun add @themost/mongo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2019-09-05 |
| First published | 2019-07-16 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.9.0 |
| Dependencies | 1 |
| Unpacked size | 25.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kyriakos Barbounakis |
| Maintainers | themost |
| Keywords | most, web, data, db, adapter, mongodb, mongo, nosql |

## Links

- npm: https://www.npmjs.com/package/@themost/mongo
- Repository: https://github.com/kbarbounakis/most-data-mongo
- Issues: https://github.com/kbarbounakis/most-data-mongo/issues
- npm.io page: https://npm.io/package/@themost/mongo

## Dependencies (1)

- [mongodb](https://npm.io/package/mongodb.md) ^3.2.7

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 2.1.1 (latest) — 2019-09-05
- 2.1.0 — 2019-07-16
- 2.1.0-dev.1 — 2019-07-16

## README

most-data-mongo
===============

Most Web Framework MongoDB Adapter

##Install

$ npm install most-data-mongo

##Usage

Register MongoDB adapter on app.json as follows:

    "adapterTypes": [
        ...
        { "name":"MongoDB Data Adapter", "invariantName": "mongo", "type":"most-data-mongo" }
        ...
    ]
    
    adapters: [
        ...
        { "name":"mongo-db", "invariantName":"mongo", "default":false,
            "options": {
              "host":"localhost",
              "port":27017,
              "database":"db"
            }
        }
        ...
    ]

If you are intended to use MongoDB adapter as the default database adapter set the property "default" to true.

Most Web Framework MongoDB Adapter is under development.

---
_Source: https://npm.io/package/@themost/mongo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
