Normalize error for Joi Validation in Express
๐ Homepage
npm i dog-joi-normalize --save
{
"error": {
"name": {
"type": "anyRequired",
"path": "name"
},
"last_names": {
"type": "anyRequired",
"path": "last_names"
}
}
}
For more errors, visit Documentation Joi
๐ค Jose Nuรฑez A
- Website: https://twitter.com/jsDotx3
- Github: @jsDotx3
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a โญ๏ธ if this project helped you!
Copyright ยฉ 2020 Jose Nuรฑez A.
This project is ISC licensed.