should-check
node.js object check module using should.js
About
You can check objects format (for example test cases..)
Example
var check = ; var obj = Model: 'prop1' List: ':[Model]' ModelListObj: 'list:[Model]'; var sc = check; sc;sc;sc; var json = sc;
API
init(obj)
initialize and return SC object
sc.check(name, target_obj)
compare target_obj and name of object
sc.checkJSON(name, json_str)
parse json_str and compare the json and name of object. Also return the parsed json object.