rmodel
v0.1.8
Published
A simple OHM for Redis
Maintainers
Readme
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
- Clone this repo and install its dependencies (run
npm install) - Install
coffeegulp(npm install -g coffeegulp) coffeegulp testorcoffeegulp test watch
Wishlist
- Relations: hasOne
- Unique Index
- Rename model.get to model.populate
- Write some docs
- More examples
- More tests
