safety-match

Rust-style tagged union matching for JavaScript, with TypeScript types