/metaschema

Metadata Schema and Interface Definition Language (IDL)

Primary LanguageJavaScriptMIT LicenseMIT

metaschema

Metadata Schema and Interface Definition Language (IDL)

TravisCI Codacy Badge NPM Version NPM Downloads/Month NPM Downloads

Installation

$ npm install metaschema

Interface: metaschema

create(schemas)

  • schemas: <Iterable> schemas in form [name, schema, source] (the 'source' is optional)

Returns: [ <MetaschemaError>, <Metaschema> ]

Creates Metaschema instance

extractDecorator(schema)

Returns: <string>

Extracts schema decorator

Contributors