# mongo-store

> Session store backed by mongodb

Latest version **0.0.2** (published 2012-07-09) · 0 weekly downloads

## Install

```sh
npm install mongo-store
pnpm add mongo-store
yarn add mongo-store
bun add mongo-store
```

## 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.2 |
| Published | 2012-07-09 |
| First published | 2012-07-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Raynos |
| Maintainers | raynos |

## Links

- npm: https://www.npmjs.com/package/mongo-store
- Repository: https://github.com/Raynos/mongo-store
- Issues: https://github.com/Raynos/mongo-store/issues
- npm.io page: https://npm.io/package/mongo-store

## Dependencies (1)

- [ap](https://npm.io/package/ap.md) 0.1.0

## Recent versions

- 0.0.2 (latest) — 2012-07-09
- 0.0.1 — 2012-07-08

## README

# mongo-store [![build status][1]][2]

Session store backed by mongodb

## Example

    var mongoStore = require("mongo-store")
        , assert = require("assert")
        , mongoCol = require("mongo-col")

    mongoCol("example-test-collection-mongo-store", function (collection) {
        var store = mongoStore(collection)
        store.set("foo", { "foo": "bar" }, function (err) {
            assert.equal(err, null)
            store.get("foo", function (err, value)  {
                assert.equal(err, null)
                assert.equal(value.foo, "bar")
                console.log("done")
            })
        })
    })

## Installation

`npm install mongo-store`

## Tests

`make test`

## Contributors

 - Raynos

## MIT Licenced

  [1]: https://secure.travis-ci.org/Raynos/mongo-store.png
  [2]: http://travis-ci.org/Raynos/mongo-store

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