Hacker News new | ask | show | jobs
by programmarchy 1145 days ago
I’ve been using io-ts for this and been very happy with it. [1] It’s similar to Swift’s Coding protocol in case you’re familiar.

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