Hacker News new | ask | show | jobs
by eyelidlessness 2294 days ago
Since Typescript is mentioned, might as well mention the awesome io-ts[1] library. It gives you both runtime validation and static type safety with very simple syntax.

[1]: https://github.com/gcanti/io-ts