carcass-memoray

0.0.1 • Public • Published

Carcass Memoray

Storage plugin for Carcass using ArrayJS

Methods

  • put(data, cb)
  • find(data, cb)
  • del(data, cb)

Example

var storage = carcass.storages.memoray({
    id: 'model'
});

var builder = carcass.factories.Model({
    attributes: {
        id: {},
        username : {}
    },
    storage: storage
});

builder.use(carcass.plugins.modelSync);

Test

make test

Readme

Keywords

none

Package Sidebar

Install

npm i carcass-memoray

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • tknew