Appearance
Type-safe pattern matching for JavaScript/TypeScript with 100% coverage
Full TypeScript support with generic types for subject and result
Clean, expressive syntax inspired by PHP match expressions
Eager, allocation-free matching โ one Object.is per case, no lookup table to build
Zero dependencies, ~1 KB gzipped
Comprehensive test suite at 100% code coverage
Fluent API for method chaining and composition