danwallach / ElectionGuard-TypeScript

TypeScript implementation of ElectionGuard (subset for ballot encryption)
MIT License
8 stars 0 forks source link

Zod instead of io-ts? #44

Open danwallach opened 2 years ago

danwallach commented 2 years ago

Definitely not for the short-term, but Zod is a fancy alternative to what we're doing with io-ts. https://github.com/colinhacks/zod

Some demos here starting around minute 12: https://www.youtube.com/watch?v=RmGHnYUqQ4k

Looks like it might be more concise than io-ts, but then we've already got io-ts working so there's no hurry to remove / replace it.