carcass-memoray

Memory storage with Array.js for Carcass

Carcass Memoray

Storage plugin for Carcass using ArrayJS

  • put(data, cb)
  • find(data, cb)
  • del(data, cb)
var storage = carcass.storages.memoray({
    id: 'model'
});
 
var builder = carcass.factories.Model({
    attributes: {
        id: {},
        username : {}
    },
    storage: storage
});
 
builder.use(carcass.plugins.modelSync);
 

make test