Menu

Building my own schema validation lib

Reading 0:00
15s threshold

I'm starting a side project: an npm package for schema validation and data parsing, in the same space as Zod, Valibot, ArkType, etc.

Before anyone says it: yes, I know those already exist and they're excellent. This is purely a learning exercise. I want to understand how type inference, parsing pipelines, and API design work under the hood, and building one from scratch seems like the best way to do that.

Since I'm designing this from scratch, I'd love to hear from people who use these tools every day:

- What do you like most about the libraries you use?

- What annoys you the most? Bundle size, slow type checking, confusing error messages, awkward APIs, anything.

- If you could change one thing, what would it be?

- Which API style do you prefer?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.