Hacker News new | ask | show | jobs
ArkType 2.1: Syntactic pattern matching 100x faster than ts-pattern (arktype.io)
1 points by ssalbdivad 481 days ago
1 comments

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!