News for hackers. Stuff that matters.
Re:ArkType 2.0 by ssalbdivad on Friday January 17, 2025 @02:37PM (#42742358)
This has been a long time coming, but I hope the finished product was worth the wait.

ArkType 2.0 is a no-setup solution for schema validation with a new style of type-safe API that parallels native type syntax.

It also brings types to runtime in a way they've never been available before. They can be introspected and compared just like `extends` in native TS.

Thanks for your patience, and I couldn't be more hyped to see what you do with it!

GitHub: https://github.com/arktypeio/arktype

Docs: https://arktype.io

Discord: https://arktype.io/discord

Re:ArkType 2.0 by fithisux on Friday January 17, 2025 @04:47PM (#42743616)
What exactly is ArkType? What problem does it solve? Is it for typescript? Vanilla JavaScript?
Re:ArkType 2.0 by ssalbdivad on Friday January 17, 2025 @05:26PM (#42743934)
It does runtime validation like Zod.

It can be used in vanilla JS but usually it is used with TypeScript for all the same reasons people normally use TypeScript.