Pattern matching for JavaScript inspired by one of the great features of the Haskell language. Suitable for browsers or node.js.