Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ssalbdivad
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
by
ssalbdivad
3mo ago
Just merged a PR migrating our entire monorepo to nub. 0 issues, ridiculously fast.
2.
▲
by
ssalbdivad
11mo ago
Not sure exactly what you mean by "something similar".
3.
▲
by
ssalbdivad
11mo ago
Yes, there are limits on what string literals can precisely represent, but we've tried to be pragmatic about trade offs around clarity, concision and performance. Subexpressions like `\\w` or `[a-Z]` would just be inferred as `${string
4.
▲
ArkRegex: A drop in replacement for new RegExp() with types
(arktype.io)
7 points
by
ssalbdivad
11mo ago
|
5 comments
5.
▲
ArkType 2.1: Syntactic pattern matching 100x faster than ts-pattern
(arktype.io)
1 points
by
ssalbdivad
2y ago
|
1 comments
6.
▲
by
ssalbdivad
2y ago
Safe runtime type syntax is incredibly powerful in JS, and not just for validation. ArkType 2.1's new pattern matching API showcases that, both in terms of DX and performance. Would love to get your take!
7.
▲
ArkType 2.0: Validate 100x faster with DX that will blow your mind
(arktype.io)
1 points
by
ssalbdivad
2y ago
|
1 comments
8.
▲
by
ssalbdivad
2y ago
ArkType 2.0 is a no-setup solution for schema validation with a new style of type-safe API that parallels native type syntax while offering validation functionality like Zod or Yup. It also brings types to runtime in a way they've neve
9.
▲
by
ssalbdivad
2y ago
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.
10.
▲
by
ssalbdivad
2y ago
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 ru
11.
▲
by
ssalbdivad
4y ago
Since `.ts` extensions were in alpha, our repo has been set up so that you can switch between Node and Deno seamlessly in-editor and continue developing with no config or source changes. Personally, I found all the `npm` integration stuff t
12.
▲
by
ssalbdivad
4y ago
Massive release! `const` generic parameters in particular have been a god-send for our repo’s static inference ( https://github.com/arktypeio/arktype ) where previously we were forced to constantly rely on complex narrow
13.
▲
ArkType: TypeScript's 1:1 validator, optimized from editor to runtime
(github.com)
3 points
by
ssalbdivad
4y ago
|
2 comments
14.
▲
by
ssalbdivad
4y ago
Hey everyone! I started working on ArkType about 15 months ago, which at the time was an experiment to determine whether a TypeScript syntax parser written using TS's own generic types could be performant. To my surprise, after a few m
15.
▲
by
ssalbdivad
4y ago
Have you seen ArkType ( https://github.com/arktypeio/arktype )? Similar parse-based approach to validation with a significantly more concise definition syntax: const info = type({ name: "string>0", e
16.
▲
ArkType: TypeScript you can take to runtime
(github.com)
5 points
by
ssalbdivad
4y ago
|
2 comments
17.
▲
by
ssalbdivad
4y ago
Hey everyone! I've been working on a new approach to type-first validation and would love to get some feedback or answer any questions you have! By far the most common question I get is "why use this over existing validators like
18.
▲
by
ssalbdivad
4y ago
ArkType is a library for defining runtime types using TypeScript syntax that can be inferred 1:1. Each character you type is instantly validated both syntactically and semantically using TypeScript's own type system, so you know exactl
19.
▲
ArkType: The first isomorphic type system for TS/JS
(arktype.io)
4 points
by
ssalbdivad
4y ago
|
2 comments
20.
▲
Re-/model: TypeScript you can use at runtime
(redo.dev)
3 points
by
ssalbdivad
4y ago
|
0 comments