Sign in

ArkType

@arktype.io
587 followers 3 following 354 posts

TypeScript's 1:1 validator, optimized from editor to runtime ⛵ ⭐http://github.com/arktypeio/arktype 👋http://arktype.io/discord

PostsRepliesMedia
ArkType @arktype.io · 04/03/2026
Full announcement: arktype.io/docs/blog/2.2 I couldn't be more hyped to see what you do with it. ⚡ arktype.io/docs/intro/setup ⭐ github.com/arktypeio/arktype 👋 arktype.io/discord If you want to support this work: github.com/sponsors/arktypeio
arktype.io
ArkType Docs
TypeScript's 1:1 validator, optimized from editor to runtime
010
ArkType @arktype.io · 04/03/2026
@ark/json-schema — Bidirectional JSON Schema Parse JSON Schema into ArkType Types, and convert Types to JSON Schema. Huge thanks to @TizzySaurus for building this one. toJsonSchema() now supports configurable fallbacks, draft-07/2020-12 targets, and cyclic types.
220
ArkType @arktype.io · 04/03/2026
Standard Schema validators can now be embedded directly in ArkType definitions. Zod, Valibot, or anything else that implements the spec.
250
ArkType @arktype.io · 04/03/2026
Type-safe regex via arkregex Regex literals in your definitions now carry full type inference. x-prefix parses capture groups at runtime.
110
ArkType @arktype.io · 04/03/2026
type.fn Define runtime-validated functions using the same syntax you already know. Defaults, optionals, variadics- it all works.
110
ArkType @arktype.io · 04/03/2026
📢ArkType 2.2 is here. This is a big one, and it's long overdue. Validated functions, type-safe regex, bidirectional JSON Schema, and universal schema interop. Here's what's new 🧵
1332
ArkType @arktype.io · 23/12/2025
strategy is summarized here: x.com/ssalbdivad/s...
x.com
010
ArkType @arktype.io · 22/12/2025
🛝 playground: arktype.io/playground 📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType Playground
TypeScript's 1:1 validator, optimized from editor to runtime
030
ArkType @arktype.io · 22/12/2025
all you need to "learn" ArkType syntax: 1️⃣ start with a typescript keyword 2️⃣ .autocomplete to discover constraints 3️⃣ compose if needed with &, |, etc.
2201
ArkType @arktype.io · 18/12/2025
Yeah unfortunately without build-time transforms (which come with their own limitations), this is probably about as close as you will get to TypeScript at runtime.
130
ArkType @arktype.io · 18/12/2025
tools are just introspectable functions... what if you could define them like this?🤔
191
ArkType @arktype.io · 17/12/2025
📚 match docs: arktype.io/docs/match 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/ar...
010
ArkType @arktype.io · 17/12/2025
wish TS had rust-style pattern matching? (it already does)🪄
2231
ArkType @arktype.io · 16/12/2025
read the full announcement: standardschema.dev/json-schema
standardschema.dev
Standard JSON Schema
A standardized JSON Schema representation that preserves inferred type information
081
ArkType @arktype.io · 16/12/2025
🚨Standard JSON Schema v1 just dropped🚨 🟢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
3333
Reposted by ArkType
David Blass @ssalbdivad.dev · 16/12/2025
🎉Announcing Standard JSON Schema🎉 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🔁
1201
Reposted by ArkType
Colin McDonnell 💎 Zod @colinhacks.com · 15/12/2025
Introducing ✨ Standard 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
3726
ArkType @arktype.io · 11/12/2025
mission accomplished @mattpocock.com
0111
ArkType @arktype.io · 10/12/2025
BETRAYAL
0120
ArkType @arktype.io · 09/12/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
000
ArkType @arktype.io · 09/12/2025
"bUt StRiNgS aReN'T tYpE sAfE"
130
ArkType @arktype.io · 08/12/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
020
ArkType @arktype.io · 08/12/2025
95% of ArkType syntax is just TypeScript. The other 5% are extensions like this that are... ✅composable ✅consistent across data types ✅100% safe with helpful type-level error messages
1161
ArkType @arktype.io · 05/12/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
010
ArkType @arktype.io · 05/12/2025
once you go type("string") you never go z.back()
1162
ArkType @arktype.io · 04/12/2025
Yeah we considered that syntax but it was cleaner to separate them since it won't always be a string definition that goes there (could be a reference to another type) so for now it just makes it easier to always think about spreading the same way.
010
ArkType @arktype.io · 02/12/2025
📚 docs: arktype.io/docs/blog/arkregex 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
020
ArkType @arktype.io · 02/12/2025
Difficulty of Parsing Regex with TypeScript Types ------------------------------------------------------------ group associativity ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ everything else ▒▒
260
ArkType @arktype.io · 01/12/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
010
ArkType @arktype.io · 01/12/2025
In the next version of ArkType, any Standard Schema is a valid definition. Zod migration is about to get a whole lot easier🚀
3385
ArkType @arktype.io · 26/11/2025
📚 docs: arktype.io/docs/objects#tuples 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType Docs
TypeScript's 1:1 validator, optimized from editor to runtime
010
ArkType @arktype.io · 26/11/2025
fastest, cleanest tuple validation around
281
ArkType @arktype.io · 26/11/2025
awesome love to see this being used in other libraries!
010
ArkType @arktype.io · 24/11/2025
RIP z.shark() long live sharktype
0201
ArkType @arktype.io · 20/11/2025
📚 docs: arktype.io/docs/blog/arkregex 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
010
ArkType @arktype.io · 20/11/2025
friends don't let friends have unsafe regex
1151
ArkType @arktype.io · 20/11/2025
no worries, we're happy to be considered 😊
020
ArkType @arktype.io · 19/11/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType
TypeScript's 1:1 validator, optimized from editor to runtime
010
ArkType @arktype.io · 19/11/2025
coming in ArkType 2.2... e(x)ec mode for regex literals🧑‍🍳
1110
ArkType @arktype.io · 18/11/2025
📚 docs: arktype.io/docs/blog/arkregex 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType Docs
TypeScript's 1:1 validator, optimized from editor to runtime
030
ArkType @arktype.io · 18/11/2025
📈arkregex just hit 100k installs/week📈 if you're still using untyped RegExp() you may as well just write raw .js
1211
ArkType @arktype.io · 13/11/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType
TypeScript's 1:1 validator, optimized from editor to runtime
010
ArkType @arktype.io · 13/11/2025
string validation has never been this easy arktype🤝arkregex
1151
ArkType @arktype.io · 12/11/2025
📚 docs: arktype.io/docs/blog/arkregex 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
010
ArkType @arktype.io · 12/11/2025
problem: your RegExp is beyond human comprehension solution: pnpm i arkregex
162
ArkType @arktype.io · 10/11/2025
📚MDN docs for this feature: developer.mozilla.org/en-US/docs/W... 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
developer.mozilla.org
Modifier: (?ims-ims:...) - JavaScript | MDN
A modifier overrides flag settings in a specific part of a regular expression. It can be used to enable or disable flags that change the meanings of certain regex syntax elements. These flags are i, m...
020
ArkType @arktype.io · 10/11/2025
I'll take "meticulously typed regex features you probably didn't know existed" for $500
1322
ArkType @arktype.io · 07/11/2025
📚 docs: arktype.io 👋 discord: arktype.io/discord ⭐ github: github.com/arktypeio/arktype
arktype.io
ArkType
TypeScript's 1:1 validator, optimized from editor to runtime
010
ArkType @arktype.io · 07/11/2025
in the latest version of arktype: regex properties and index signatures from arkregex🔒
1101
ArkType @arktype.io · 06/11/2025
bsky.app/profile/arkt...
110