Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.04 KB

README.md

File metadata and controls

57 lines (38 loc) · 2.04 KB
microlink cdn microlink cdn

Last version Coverage Status NPM Status

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