Pampy.js is a tiny, reasonably fast, and often makes your code more readable, and easier to reason about.
The pattern matching is basically a switch
on steroids, you can create powerful conditions such based on Object
properties or Array
content without manipulating the Object
or Array
itself.