armada

node-armada ===========

Usage no npm install needed!

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

README

Armada is a library to help orchestrate node processes. It's the perfect companion to awsm.

Server Usage

armada server --config=~/.armada/config.json

config:

{
  "server": {
    "port": 1337,
    "secret": "secret"
  }
}

Client Usage

armada client --config=~/.armada/config.json

config:

{
  "client": {
    "port": 1338,
    "host": "serverhost:8083",
    "packages": "/path/to/client/packages"
  }
}

CLI Usage

armada cli
> clients.hello()
client1: hello
client2: hello

config:

{
  "controller": {
    "host": "serverhost:8083"
  }
}