A functional TypeScript utility library with Rust-inspired Result types and exhaustive pattern matching, built on es-toolkit and ts-pattern.
Use the flat import surface or pull from focused subpaths. Every export tree-shakes.
One task, written both ways. Assume fetchUser() throws a Response on HTTP failure.
The catch block receives unknown, so every branch has to re-establish what the failure was before it can say anything about it.
Install massaman, import what you need, and keep the rest out of your bundle.