UNPKG
@theatersoft/bus
Version:
latest (1.16.2)
1.16.2
1.16.1
1.16.0
1.15.0
1.14.0
1.13.3
1.13.2
1.13.1
1.13.0
1.12.15
1.12.14
1.12.13
1.12.12
1.12.11
1.12.10
1.12.9
1.12.8
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.10.0
1.9.1
1.9.0
1.8.1
1.8.0
1.7.1
1.7.0
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
Bus messaging connects distributed clients and services
github.com/theatersoft/bus
theatersoft/bus
@theatersoft/bus
/
start.js
10 lines
(5 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
const
{bus} =
require
(
'@theatersoft/bus'
), {port} =
require
(
'url'
).
parse
(process.
env
.
BUS
||
'ws::5453'
) bus.
start
({
children
: {
host
:
'0.0.0.0'
, port}})