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.