An Ara network node that runs a signalhub server to coordinate handshaking.
This project is in active development.
[Stability][stability-index]: 1 - Experimental. This feature is still under active development and subject to non-backwards compatible changes, or even removal, in any future version. Use of the feature is not recommended in production environments. Experimental features are not subject to the Node.js Semantic Versioning model.
Important: While this project is under active development, run
npm link
inara-network-node-signalhub
directory &npm link ara-network-node-signalhub
inara-network
directory.
$ npm install ara-network ara-network-node-signalhub
ara-runtime-configuration is a dependency of ara-network and will read from the nearest .ararc
. Install ara-runtime-configuration separately to specify default values not present in an .ararc
.
Runtime configuration can be specified by targeting the
[network.node.dns]
INI section or a nested JSON object
{ network: { node: { signalhub: { ... }}}}
.
INI format in an .ararc
:
[network.node.signalhub]
maxBroadcasts: Infinity
port = 8881
const hub = require('ara-network-node-signalhub')
$ ann --type signalhub --help
usage: ann -t . [options]
General Options:
--help, -h Show help [boolean]
--debug, -D Enable debug output [boolean]
--version, -V Show version number [boolean]
Configuration Options:
--type, -t Node type to start
--conf, -C Path to configuration file
Options:
--port, -p Port for server to listen on
Invoke a network node with the ann
(or ara-network-node
) command line interface:
$ ann --type signalhub --port 8881
LGPL-3.0