chooser (npm): A small, but fully featured, library that aims to replace `switch` case logic (mainly to aid with Functional Programming), with a simple declarative API for setting up a predefined map of cases, and choosing a result from it based on input.
Keywords: choose|choice|switch|case|fp|functional|programming|typescript|javascript