cosmodog-model-factory

0.2.16 • Public • Published

cosmodog-model-factory

cosmodog-model-factory is a factory for Data Model classes.

The driving motivation behind this project is to separate library properties from data properties, allow for configurable service integrations, and internalize enforcement of data constraints.

We achieve this by using Symbols as keys for object meta data, allow callback hooks and configurable RESTful conventions for service integrations, and dynamically build ES5 Property Definitions based on a given JSON-Schema.

A quick start guide can be found here

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.16
    2
    • latest

Version History

Package Sidebar

Install

npm i cosmodog-model-factory

Weekly Downloads

26

Version

0.2.16

License

Apache-2.0

Last publish

Collaborators

  • cosmodog