@cicnet/schemas-data-validator
v1.0.0-alpha.3
Published
```javascript import { validatePerson } from 'cic-schemas-data-validator'
Downloads
3
Readme
@cicnet/schemas-data-validator
import { validatePerson } from 'cic-schemas-data-validator'
const data = { data: 'that will not validate' }
const personValidationErrors = await validatePerson(data)
if (personValidationErrors) {
personValidationErrors.map(e => console.log(`${e.message}`))
}