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
Efficient equality-based matching using JavaScript's Map (O(1) lookup)
Zero dependencies, ~1.2KB gzipped
245 comprehensive tests with 100% code coverage
Fluent API for method chaining and composition