Reducing data with a shell-pipe-like sequence of operations in JavaScript
One of the most remarkable features of the command-line interface is the pipe operator. The ability to use the data resulting from one operation as input for the next one makes the process intuitive, while significantly abbreviating the amount of written code, thus making the development flow extremely productive. Consider the followin...