logoalt Hacker News

epolanskilast Sunday at 10:10 PM2 repliesview on HN

That's a validator, not a proper parser, no?


Replies

culilast Monday at 2:33 AM

What's the difference here? I've only used Zod but I typically think of Zod as a runtime validation library. AFAIK arktype is a full-featured replacement for Zod

girvolast Monday at 11:00 PM

I don't think I understand the difference you're drawing on here? It parses data and validates its structure, and is a replacement for all my uses of Zod?