Re:Parse, Don't Validate (2019)
by vorticalbox on Saturday June 26, 2021 @06:59AM
(#27640857)
There is also joi, zod, myzod just to name a few.
I personally use myzod as its fast it parsing, zero dependancies and you can infre types from your schemas.
Re:Parse, Don't Validate (2019)
by catlifeonmars on Saturday June 26, 2021 @10:38AM
(#27642240)
Don’t forget https://github.com/gcanti/io-ts
basically ist’s just functions that take a value of one type and return a other one