tinyrun
v1.0.2
Published
Run multiple commands in parallel
Downloads
133
Maintainers
Readme
tinyrun executes multiple commands in parallel with minimal footprint (~2KB).
It can run one-off commands:
tinyrun "pnpm build" "pnpm build:docs"
or commands that keep running in background:
tinyrun --names "HTTP" "node examples/server.js"
HTTP started pid=13030
HTTP Server is listening on port 3000
c^CHTTP Received shutdown signal, shutting down gracefully...
HTTP Closed out remaining connections
HTTP cmd='node examples/server.js' exitCode=0 signalCode=null duration=2s
Install
npm install tinyrun --global
Usage
as CLI
Just tinyrun --help
to see all the options availables.
as module
Check how CLI is implemented to see how it's interacting with the core module.
Related
- tinyspawn – A minimalistic wrapper around Node.js
child_process.spawn
API.
License
tinyrun © Kiko Beats, released under the MIT License. Inspired by Stanko Tadić. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub Kiko Beats · Twitter @kikobeats