bindable-model

Models:

npm install bindable-model
50 downloads in the last day
193 downloads in the last week
552 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