DISCOVERED IN HACKER NEWS

Runtypes

Runtypes: a product linked in Hacker News recommendation discussions.

Developer tools
1Recommendation signals
1Sources
2021-09-10Latest mention

Why does HN talk about it?

Automatically selected excerpts in their original language. Read the full discussion for context.

@run-types
For those looking to sanitize input from Typescript, I highly recommend the runtypes library: https://github.com/pelotom/runtypes https://github.com/pelotom/runtypes It let's you specify type definitions a DSL in Typescript using syntax very similar to Typescript's type definitions.
Read the full discussion