immodel-base
Collection of plugins that add basic model functionality to immodel.
Last updated 6 years ago by ashaffer88 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install immodel-base 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.2                                ...           latest (6 years ago)

3 Versions

  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (12)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |