ianstormtaylor/superstruct
View on GitHub ↗ ★ 7,125 TypeScript
A simple and composable way to validate data in JavaScript (and TypeScript).
5 mentions on Hacker News by 5 people: 2 stories, 3 comments · first 2017-11-30 · latest 2023-11-03
20082026
-
…of the Python community, so you might look there! [1]: https://github.com/colinhacks/zod [2]: https://github.com/ianstormtaylor/superstruct [3]: https://github.com/sinclairzx81/typebox
comment by chriskrycho · 2023-11-03 · in Where DRY Applies -
Self-reply: I found these two but haven't tried them. https://github.com/pelotom/runtypes https://github.com/ianstormtaylor/superstruct
comment by chrstphrhrt · 2020-04-28 · in Porting a React Front End to TypeScript -
I've found https://github.com/ianstormtaylor/superstruct to be really flexible/powerful.
comment by zhs · 2018-12-03 · in ForgJs – A lightweight object validator