hapio
A simple bridge plugin between HapiJS and SocketIO.
Plugin registration
const server = port: 3000 host: 'localhost'; { try await server; await serverstart; catch e console; };
Using hapio
const io = serverpluginshapioio; io;
hapio options
serverOptions
: (Not required/Defaults to an empty object) Options to pass to socket.io's constructor.
A great idea?
Do not hesitate to make a pull request
An issue with hapio?
Just open an issue on Github and I will fix it as soon as possible