@mxjp/parallel

1.0.2 • Public • Published

Run commands/npm scripts in parallel

This is a super minimalistic package for running shell commands or npm scripts in parallel without any dependencies.

Scope

  • Complete lines from child processes are written to stdout.
  • Ansi escape codes are not handled in any way.
  • If any child process is terminated or exit's with a non zero exit code, this will exit with code 1.

Usage

mx-parallel [...commands]

# Run npm scripts "a" and "b":
mx-parallel npm:a npm:b

# Run all npm scripts matching a pattern:
mx-parallel npm:start:*

Readme

Keywords

none

Package Sidebar

Install

npm i @mxjp/parallel

Weekly Downloads

1

Version

1.0.2

License

none

Unpacked Size

2.15 kB

Total Files

3

Last publish

Collaborators

  • mpt