Skip to content

immodel/base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

base

The basic set of plugins needed to bootstrap immodel into being a usable model. Works with browserify.

Usage

var model = require('immodel')
  .use(require('base'));

With custom plugins

var model = require('immodel')
  .use(require('base'), {validation: require('my-validations')});

The base validation package will be replaced with the 'my-validation' package. The things you can replace are

  • getter-setter
  • cast
  • methods
  • attrs
  • validation
  • required - Basic 'required validator' implementation
  • defaults - Default values
  • discriminators

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published