README
parallel
CLI tool to execute shell commands in parallel.
Loosely based on GNU parallel command.
Installation
Using npm:
$ npm install -g parallel
Usage
# Pass input lines as command-line arguments
input | parallel [options] cmd [cmd-options] {} > output
# Pipe input lines through the jobs stdin
input | parallel [options] --pipe cmd [cmd-options] > output
Options
-j, --jobs <n> Max processes to run in parallel (0 for ∞) [default CPUs]
-n, --max-args <args> Number of input lines per command line [default 1]
-d, --delimiter <delim> Input items are terminated by delim [default \n]
-0, --null Use NUL as delimiter, alias for -d