resource-validator

adds JSON-validator to resources

npm install resource-validator
4 downloads in the last month

validator

adds JSON-validator to resources

API

properties

methods

adds JSON-validator to resources

  • id

    • type : any

methods

validator.validate(data, schema)

hi

  • data

    • type : object
  • schema

    • type : object

README auto-generated with docs

npm loves you