Hacker News new | ask | show | jobs
by ssalbdivad 481 days 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!