New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

immodel-base

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immodel-base

Collection of plugins that add basic model functionality to immodel.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

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

Keywords

immodel

FAQs

Package last updated on 08 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts