switchcase (npm): Declarative and functional switch supporting literals, functional tests, regular expressions, object patterns and routes
Keywords: switch|case