Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tame-validator

Jaiswal-ruhil6ISC0.1.0

Validator module for tame schema

validator, tame

readme

tame-validator

validates the schema

API :

var schemaValidator = require('tame-validator').schemaValidator;

const schema = {
  name: "Foo",
  fields: [
    {
      name: "bar",
      type: "String"
    }
  ]
}

schemaValidator.validate(schema);