VeryModel
VeryModel copied to clipboard
A JavaScript model system for validation, creation, and editing of models.
Here are the issues: joi - https://nodesecurity.io/advisories/566 lodash - https://nodesecurity.io/advisories/577  Both of these are fixed in newer versions of joi and lodash.
GitHub changed the way Markdown headings are parsed, so this change fixes it. See [bryant1410/readmesfix](https://github.com/bryant1410/readmesfix) for more information. Tackles bryant1410/readmesfix#1
``` javascript var MyModel = new verymodel.Model({ id: {type: 'string', static: true}, owner: {model: { owner_id: {type: 'string', static: true} }} }); var model = MyModel.create({ id: 'foobar', owner: {...
What's the equivalent of `foo instanceof Foo` when using VeryModel? The model instance stores a reference to the factory in `__verymeta.model` but this isn't exposed via the API.