# xqnode-mongodb

> MongoDB module for xqnode

Latest version **0.0.4** (published 2015-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install xqnode-mongodb
pnpm add xqnode-mongodb
yarn add xqnode-mongodb
bun add xqnode-mongodb
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-03-08 |
| First published | 2015-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Andi Heinkelein |
| Maintainers | andi-oxidant |
| Keywords | xqnode, mongo, mongodb, model |

## Links

- npm: https://www.npmjs.com/package/xqnode-mongodb
- npm.io page: https://npm.io/package/xqnode-mongodb

## Dependencies (3)

- [xqnode](https://npm.io/package/xqnode.md) ^0.1.0
- [mongodb](https://npm.io/package/mongodb.md) ^2.0.10
- [bluebird](https://npm.io/package/bluebird.md) ^2.4.2

## 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

- 0.0.4 (latest) — 2015-03-08
- 0.0.3 — 2015-03-08
- 0.0.2 — 2015-03-08

## README

XQNode MongoDB module
---------------------

Usage
=====

```js
    //Set default db connection
    require('xqnode-mongodb').conf = {
        "host": "myhost.tld",
        "port": 17027,
        "dbname": "mydb"
    };

    //Create a MongoDB Model
    var Model = require('xqnode-mongodb').Model;
    var model = new Model({
        collection: 'myCollection'
    });
```

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