@waveorb/validate
v1.0.0
Published
Waveorb validate
Downloads
97
Readme
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