io-process-pool
A Node.js process pool for long running I/O processes.
Use io-process-pool with processes that take a line of input, do a long-running computation on that line, and then write a line of output. io-process-pool will automatically distribute those long-running computations among the processes in the pool.
Usage
const Pool = // Imagine if grep were a process that took four seconds for each lineconst pool = 'grep' '-i' '--only-matching' '"magic phrase"' '-' processes: 4 lotsOfLines