rmodel

0.1.8 • Public • Published

RedisModel - a simple Redis OHM (object hash mapper) for Node.js

Features

  • Easy API
  • Associations (hasMany, belongsTo)
  • Getters/Setters
  • Model class and instance methods
  • Defaults
  • ID generation
  • Promises
  • Index by field value

Install

npm install rmodel

How to Run Tests

  1. Clone this repo and install its dependencies (run npm install)
  2. Install coffeegulp (npm install -g coffeegulp)
  3. coffeegulp test or coffeegulp test watch

Wishlist

  • Relations: hasOne
  • Unique Index
  • Rename model.get to model.populate
  • Write some docs
  • More examples
  • More tests

Package Sidebar

Install

npm i rmodel

Weekly Downloads

10

Version

0.1.8

License

MIT

Last publish

Collaborators

  • kislitsyn