node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


redis storage adaptor for node-model


redis sync adaptor for use with node-model.

npm install model-redis-sync
var model = require('node-model')
var redisOptions = {
  host: '...',
  port: '...'
var redisSync = require('model-redis-sync')(redisOptions)
var Post = model('Post')
Post.sync = redisSync
var post = new Post({title: "My Awesome Post", body: "Is awesome"}) {

modelName is used to determine the redis key. In this case it will be Post:uuid

npm test