3 ms·
That works wonderful as long as you have a flexible type system like Typescript. For me io-ts[0] has been a godsend when I want runtime type-checking on io boun
by egeozcan 5y ago
That works wonderful as long as you have a flexible type system like Typescript. For me io-ts[0] has been a godsend when I want runtime type-checking on io boundaries (and you may have a lot of them in a front-end application).
[0]: https://github.com/gcanti/io-ts/blob/master/index.md#typescript-integration https://github.com/gcanti/io-ts/blob/master/index.md#typescr...
- purplerabbit 5y agoThese sorts of libraries are great in my experience. Here's a comparison of some of the more popular ones: https://github.com/colinhacks/zod#comparison https://github.com/colinhacks/zod#comparison