ArkType's Avatar

ArkType

@arktype.io.bsky.social

TypeScript's 1:1 validator, optimized from editor to runtime β›΅ ⭐http://github.com/arktypeio/arktype πŸ‘‹http://arktype.io/discord

435 Followers  |  3 Following  |  231 Posts  |  Joined: 31.10.2024  |  1.8078

Latest posts by arktype.io on Bluesky

Preview
ArkType Discord TypeScript's 1:1 validator, optimized from editor to runtime

πŸ“ˆArkType's Discord community is growing fast and just surpassed 750 members!πŸ“ˆ

Have questions? Want to stay up to date?

It's a great time to join!
arktype.io/discord

06.08.2025 16:15 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
Preview
ArkType Playground TypeScript's 1:1 validator, optimized from editor to runtime

Not convinced?

Try the end-to-end DX yourself in-browser:

arktype.io/playground

04.08.2025 17:22 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Why does ArkType use "strings" over .chaining()?

βœ…Inferred 1:1 so you hover less
βœ…Easily serialized
βœ…Concise (~30-50% shorter than Zod)
βœ…Typos === type errors

04.08.2025 17:22 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Preview
ArkType Docs TypeScript's 1:1 validator, optimized from editor to runtime

Docs: arktype.io/docs/objects#properties-index
GitHub: github.com/arktypeio/arktype
Discord: arktype.io/discord

30.07.2025 17:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

index signatures? more like *fun*dex signaturesπŸ‘

30.07.2025 17:49 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - arktypeio/arktype: TypeScript's 1:1 validator, optimized from editor to runtime TypeScript's 1:1 validator, optimized from editor to runtime - arktypeio/arktype

Silence them by switching to a 21st-century TypeScript schema validator today:

GitHub: github.com/arktypeio/arktype
Discord: arktype.io/discord
Docs: arktype.io

28.07.2025 16:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

πŸ“ˆArkType just surpassed 1M downloads/monthπŸ“ˆ

If you *still* haven't tried it, your friends are now laughing behind your back (statistically speaking).

28.07.2025 16:43 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 1    πŸ“Œ 1
Preview
GitHub - arktypeio/arktype: TypeScript's 1:1 validator, optimized from editor to runtime TypeScript's 1:1 validator, optimized from editor to runtime - arktypeio/arktype

GitHub: github.com/arktypeio/arktype
Discord: arktype.io/discord
Docs: arktype.io

24.07.2025 17:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

And autocomplete for your properties.

24.07.2025 17:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

With great type errors for mismatches.

24.07.2025 17:33 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Need runtime validation for your existing types?

ArkType's `declare` API gives you just that.

24.07.2025 17:33 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

@ark/attest is the only assertion library that can snapshot TypeScript autocomplete results πŸ“·

23.07.2025 16:58 β€” πŸ‘ 27    πŸ” 2    πŸ’¬ 4    πŸ“Œ 0
Preview
GitHub - arktypeio/arktype: TypeScript's 1:1 validator, optimized from editor to runtime TypeScript's 1:1 validator, optimized from editor to runtime - arktypeio/arktype

GitHub: github.com/arktypeio/arktype
Discord: arktype.io/discord
Docs: arktype.io/docs/primitives#number-ranges

22.07.2025 16:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Restrict the size of numbers, strings and arrays with expressive, type-safe syntax.

22.07.2025 16:51 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

"don't worry babe. with Standard Schema, developers won't have to choose"

19.07.2025 17:03 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
Post image

two possibilities:

πŸ…°οΈ your typescript strings have native-quality autocomplete
πŸ…±οΈ skill issue

18.07.2025 16:31 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Post image

This is what I'd recommend for that scenario.

18.07.2025 16:28 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Sponsor @arktypeio on GitHub Sponsors ArkType is a type-safe runtime validator that understands TypeScript syntax. Each character you type is statically parsed so you'll know exactly what to expect from editor to runtime.

If you are a fellow GIGACHAD in a financial position to pitch in, even a small contribution makes a huge difference for a full-time open source dev🫑

github.com/sponsors/arktypeio

17.07.2025 17:48 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

MASSIVE shout out to @jdegoes.bsky.social for his incredibly generous support of @arktype.io.

An absolute legend and one of the best speakers I've ever heardπŸ™‡

17.07.2025 17:48 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Love great error messages but hate writing them?

Out of the box, @arktype.io errors are...

1️⃣clear and concise
2️⃣readable for developers and end users
3️⃣deeply customizable to your needs

17.07.2025 17:38 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
ArkType Playground TypeScript's 1:1 validator, optimized from editor to runtime

Try it yourself in-browser:

arktype.io/playground

16.07.2025 16:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

How is ArkType's autocomplete so fast and accurate?

βœ…100+ type-level benchmarks
βœ…1k+ type-level unit tests

16.07.2025 16:46 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Preview
ArkType Playground TypeScript's 1:1 validator, optimized from editor to runtime

All of ArkType's type-level error messages are like this!

The new playground is a neat in-browser environment to mess around with it if you're interested:

arktype.io/playground

16.07.2025 16:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Default values for generic parameters Β· Issue #1054 Β· arktypeio/arktype Would allow parsing the equivalent syntax from TS: const array = type("<t = unknown>", "t[]"); // unknown[] const a = array(); // string[] const b = array("string"); const types = scope({ "array<t ...

It's not currently for arrays because `Array` is supported as a standalone keyword for `unknown[]` so we can't support `Array<T>` without a breaking change until we implement default values for generics.

Other generic instantiations like `Record<K, V>` are supported.

github.com/arktypeio/ar...

16.07.2025 16:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

bUt sTriNgs CaNt bE TypEsAfe

15.07.2025 17:35 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Preview
ArkType Discord TypeScript's 1:1 validator, optimized from editor to runtime

If you have questions while ramping up, we have answers!

arktype.io/discord

14.07.2025 17:17 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Zod is a great library.

It is not realistic to be as proficient with a new validator on your first day using it, even with good docs and an intuitive API.

That doesn't mean there aren't significant benefits.

14.07.2025 17:17 β€” πŸ‘ 26    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0
Post image

If you can type it with TypeScript, you can validate it with @arktype.io 🀝

12.07.2025 17:28 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - arktypeio/arktype: TypeScript's 1:1 validator, optimized from editor to runtime TypeScript's 1:1 validator, optimized from editor to runtime - arktypeio/arktype

GitHub: github.com/arktypeio/arktype
Discord: arktype.io/discord
Docs: arktype.io

11.07.2025 17:47 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

TypeScript + runtime = ArkType

11.07.2025 17:47 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

@arktype.io is following 3 prominent accounts