# nodm

> NodeJS ODM for NoSQL, Couchbase, Redis

Latest version **0.1.11** (published 2015-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install nodm
pnpm add nodm
yarn add nodm
bun add nodm
```

## 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.1.11 |
| Published | 2015-04-25 |
| First published | 2014-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ioan CHIRIAC |
| Maintainers | ichiriac |
| Keywords | couchbase, redis, odm, crud, unique, index, view, validators |

## Links

- npm: https://www.npmjs.com/package/nodm
- Repository: https://github.com/ichiriac/node-nosql-odm
- Homepage: http://ichiriac.github.io/sofa-odm
- Issues: https://github.com/ichiriac/node-nosql-odm/issues
- npm.io page: https://npm.io/package/nodm

## Dependencies (3)

- [q](https://npm.io/package/q.md) ^1.0.1
- [extend](https://npm.io/package/extend.md) ^2.0.0
- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.11 (latest) — 2015-04-25
- 0.1.10 — 2014-12-15
- 0.1.9 — 2014-12-15
- 0.1.8 — 2014-12-15
- 0.1.7 — 2014-12-14
- 0.1.6 — 2014-12-14

## README

# NodeJS NoSQL ODM

This library is a tiny & simplistic ODM that will help you to
build a business model layer with ease, and without having to deal with 
technicals aspects of any NoSQL engine (support Couchbase, Redis and Sphinx).

 * CRUD operations
 * Getters & Setters on records properties
 * Validating data before saving it
 * Filtering and paginations
 * Setup views and helpers for filtering (support also customized views)
 * Mappers definition are compliant with JSON Schema Definition
 * Using Promises API and EventEmitter

*Current version: [v/0.1.11][dist]*

[![Build Status](https://travis-ci.org/ichiriac/node-nosql-odm.svg)](https://travis-ci.org/ichiriac/node-nosql-odm)
[![Dependency Status](https://david-dm.org/ichiriac/node-nosql-odm.svg)](https://david-dm.org/ichiriac/node-nosql-odm)
[![Coverage Status](https://img.shields.io/coveralls/ichiriac/node-nosql-odm.svg)](https://coveralls.io/r/ichiriac/node-nosql-odm)

## Getting started

Pick a driver to use depending on your NoSQL server :

- [CouchBase : Sofa ODM](https://github.com/ichiriac/sofa-odm/)
- [Redis : ReDM](https://github.com/ichiriac/sofa-odm/)


## Writing a new driver

You can also start to write your own driver, so you have just to start a new project and add nodm as a dependency :

```sh
npm install nodm --save
```

Take a look at already implemented drivers

#Misc

This code is distribute under The MIT License (MIT), authored by Ioan CHIRIAC.

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