# duck-storage-mongodb

> mongodb plugin for duck-storage

Latest version **0.0.10** (published 2021-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install duck-storage-mongodb
pnpm add duck-storage-mongodb
yarn add duck-storage-mongodb
bun add duck-storage-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.10 |
| Published | 2021-08-07 |
| First published | 2020-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 21.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Martin Rafael Gonzalez |
| Maintainers | tin_r |
| Keywords | duck-storagr, store, storage, mongo, mongodb |

## Links

- npm: https://www.npmjs.com/package/duck-storage-mongodb
- Repository: https://github.com/devtin/duck-storage-mongodb
- Homepage: https://github.com/devtin/duck-storage-mongodb#readme
- Issues: https://github.com/devtin/duck-storage-mongodb/issues
- npm.io page: https://npm.io/package/duck-storage-mongodb

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [pkg-up](https://npm.io/package/pkg-up.md) ^3.1.0
- [mongodb](https://npm.io/package/mongodb.md) ^3.6.9
- [bluebird](https://npm.io/package/bluebird.md) ^3.7.2
- [bson-objectid](https://npm.io/package/bson-objectid.md) ^2.0.1

## 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.10 (latest) — 2021-08-07
- 0.0.9 — 2021-07-23
- 0.0.8 — 2021-06-01
- 0.0.6 — 2021-02-01
- 0.0.5 — 2021-01-11
- 0.0.4 — 2020-11-17
- 0.0.3 — 2020-11-03
- 0.0.2 — 2020-10-31

## README

<p><img width="480" src="https://repository-images.githubusercontent.com/284732527/2b28a880-d57b-11ea-9b43-283e2cdd605c"/></p>

<div><h1>duck-storage-mongodb</h1></div>

<p>
    <a href="https://www.npmjs.com/package/duck-storage-mongodb" target="_blank"><img src="https://img.shields.io/npm/v/duck-storage-mongodb.svg" alt="Version"></a>
<a href="http://opensource.org/licenses" target="_blank"><img src="http://img.shields.io/badge/License-MIT-brightgreen.svg"></a>
</p>

<p>
    mongodb plugin for duck-storage
</p>

## Installation

```sh
$ npm i duck-storage-mongodb --save
# or
$ yarn add duck-storage-mongodb
```

## Features

- [computes index keys](#computes-index-keys)


<a name="computes-index-keys"></a>

## computes index keys


```js
const someSchema = new Schema({
  name: {
    type: String,
    index: true
  },
  email: {
    type: String,
    unique: true
  },
  address: {
    street: String,
    zip: {
      type: Number,
      index: true
    }
  }
})

t.snapshot(computeKeys(someSchema))
```


* * *

### License

[MIT](https://opensource.org/licenses/MIT)

&copy; 2020-present Martin Rafael Gonzalez <tin@devtin.io>

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