when-switch (npm): Functional implementation of switch/case, inspired by Ruby case/when.
Keywords: switch|case|when|functional|javascript|pattern-matching|typescript