armada

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

npm install armada
9 downloads in the last month

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"
  }
}
npm loves you