⭐http://github.com/arktypeio/arktype
👋http://arktype.io/discord
1️⃣ start with a typescript keyword
2️⃣ .autocomplete to discover constraints
3️⃣ compose if needed with &, |, etc.
1️⃣ start with a typescript keyword
2️⃣ .autocomplete to discover constraints
3️⃣ compose if needed with &, |, etc.
what if you could define them like this?🤔
what if you could define them like this?🤔
(it already does)🪄
(it already does)🪄
🟢libraries can now accept ArkType wherever they need JSON Schema
🟢100% type-safe with inference built-in
🟢day one support from AI SDK
🟢TanStack AI and MCP SDK support imminent
🟢libraries can now accept ArkType wherever they need JSON Schema
🟢100% type-safe with inference built-in
🟢day one support from AI SDK
🟢TanStack AI and MCP SDK support imminent
The next spec in the Standard Schema family is here to bring library-agnostic JSON Schema to TS.
Let's make sure everyone sees it🔁
The next spec in the Standard Schema family is here to bring library-agnostic JSON Schema to TS.
Let's make sure everyone sees it🔁
It's a sister spec to Standard Schema that provides a common interface for any entity that can be converted to JSON Schema
It's a sister spec to Standard Schema that provides a common interface for any entity that can be converted to JSON Schema
and our first hire is @AndaristRake
and our first product is now in beta
The other 5% are extensions like this that are...
✅composable
✅consistent across data types
✅100% safe with helpful type-level error messages
The other 5% are extensions like this that are...
✅composable
✅consistent across data types
✅100% safe with helpful type-level error messages
------------------------------------------------------------
group associativity ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
everything else ▒▒
------------------------------------------------------------
group associativity ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
everything else ▒▒
Zod migration is about to get a whole lot easier🚀
Zod migration is about to get a whole lot easier🚀
long live sharktype
long live sharktype
e(x)ec mode for regex literals🧑🍳
e(x)ec mode for regex literals🧑🍳
if you're still using untyped RegExp() you may as well just write raw .js
if you're still using untyped RegExp() you may as well just write raw .js
arktype🤝arkregex
arktype🤝arkregex
your RegExp is beyond human comprehension
solution:
pnpm i arkregex
your RegExp is beyond human comprehension
solution:
pnpm i arkregex
regex properties and index signatures from arkregex🔒
regex properties and index signatures from arkregex🔒
even expressions like this are inferred instantly.
but what about the most extreme cases?🧵
even expressions like this are inferred instantly.
but what about the most extreme cases?🧵
❌types
😴tired
arkregex:
✅types
🫨wired
❌types
😴tired
arkregex:
✅types
🫨wired