1.0.0 • Published 10 months ago

@waveorb/validate v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Waveorb validate

Validation library for data structures.

Install

npm i @waveorb/validate

Usage

This is how you would use it on a server:

var validate = require('@waveorb/validate')

await validate({
  query: {
    name: {
      required: true,
      is: 'string',
      min: 5
    }
  }
})

Created by Eldøy Projects

1.0.0

10 months ago