re: Joi — awesome code validation for Node.js and Express VIEW POST

FULL DISCUSSION
 

Great Post! I personally use Yup which is based on Joi but tailored for the frontend, smaller footprint and whatnot, its pretty much the same API and it is wonderful to work with, specially with Formik

 
 

Hi José. Appreciate the comment. Will look into Yup :)

 

Cool, didn't know about Yup.
Aside from validating API responses, what other use-cases do you use it for?

 

on the frontend it is useful to validate form data before sending it on a request :)

code of conduct - report abuse