nodemux

Runs multiple shell commands described in nodemux.json and pipes output to a browser window. Allows control over starting/stopping each task as well as filtering on the logs.

Usage no npm install needed!

<script type="module">
  import nodemux from 'https://cdn.skypack.dev/nodemux';
</script>

README

Nodemux

Runs multiple shell commands described in nodemux.json and pipes output to a browser window. Allows control over starting/stopping each task as well as filtering on the logs.

Install

npm i -g nodemux

Usage

Run it in any folder which has a nodemux.json file

nodemux --port=9999
// 9999 is default port if none provided

nodemux.json example

Command can be specified as an object with a friendly name or a string.

// nodemux.json
{
    "commands": [
        {
            "friendlyName": "my script +1",
            "value": "cd test-scripts && node counter --increment=1"
        },
        "cd test-scripts && node counter --increment=2"
    ]
}