TypeScript's 1:1 validator, optimized from editor to runtime ⛵ ⭐https://xitter.cf/t.co/xbZ88YqNcO 👋https://xitter.cf/t.co/ve4WN4MhQK

Joined September 2022
📢Introducing ArkRegex📢 a drop in replacement for new RegExp() with types ⬇️
102
390
170
3,115
733,820
📈attest now supports tsrs📈 type benchmarks, assertions, and error snapshots run on it automatically, with the same results as tsgo tsassembly support next?🤔
1
2
1
43
2,054
⚡attest now supports TypeScript 7.1 beta type assertions, error snapshots, completions and benchmarks all run on TS 7's native compiler automatically when it's installed. tsrs support next?🤔
3
3
1
54
3,100
❔discord: arktype.io/discord ⭐attest github: github.com/arktypeio/arktype… dedicated attest docs coming to arktype.io soon!
2
339
we've got some big things in the works 🤫 hire this man before he becomes homeless and abandons them
I'm looking for my next role 👀 TS SDKs, DX, agent tooling. remote/hybrid from Boston. if you've enjoyed ArkType, Standard Schema or my TypeScript perf work, a repost would mean a ton 🙏 ssalbdivad.com
2
54
2,980
📢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 🧵
6
16
1
233
12,951
Much more: - select + configure — query types by node kind, configure specific references - Improved type.declare — morph-aware declarations, optionality via property values - type.or, type.and, type.merge, type.pipe — n-ary standalone operators - "|>" string-embeddable pipe syntax - type.valueOf for TS enums - string.hex + string.regex keywords - Serializable ArkErrors (flatByPath, flatProblemsByPath, toJSON) - exactOptionalPropertyTypes config - ES2020 + Hermes compatibility - In-docs playground
1
9
990
Standard Schema validators can now be embedded directly in ArkType definitions. Zod, Valibot, or anything else that implements the spec.
2
1
52
1,395
@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. 11 granular fallback codes for handling incompatibilities your way.
1
1
21
811
all you need to "learn" ArkType syntax: 1️⃣ start with a typescript keyword 2️⃣ .autocomplete to discover constraints 3️⃣ compose if needed with &, |, etc.
7
10
2
340
33,363
tools are just introspectable functions... what if you could define them like this?🤔
13
4
2
175
11,475
wish TS had rust-style pattern matching? (it already does)🪄
75
35
37
673
193,688
🚨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
2
5
129
6,271
🎉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🔁
2
15
1
195
11,150