Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 427 Bytes

Readme.md

File metadata and controls

21 lines (17 loc) · 427 Bytes

Subschema Loader Factory

Simple injector for use with subschema.

##Installation

  $npm install subschema-factory

##Usage

  var DefaultLoader = require('Subschema').DefaultLoader;
  var PropTypes = require('Subschema').PropTypes;
  var loaderFactory = require('loader-factory').loaderFactory;
  var loader = loaderFactory([DefaultLoader], PropTypes);

  loader.addType({
    type1:<Your Type>
  });