bindable-model

Models:

npm install bindable-model
43 downloads in the last day
271 downloads in the last week
654 downloads in the last month

Alt ci

Example

Models:



var Person = model.Model.extend({
  sync: function (type, next) {
    if(type == "load") {
      // load something
    } else if(type == "save") {
      // save something
    }
  }
}); 

var p = new Person();
npm loves you