Allow the Toki project to be hosted on the hapiJS stack
This is a bridge designed to facilitate using parts of the Toki project on a hapi based server.
Lead Maintainer: Derrick Hinkle
const bridge = require('toki-hapi-bridge');
server = new Hapi.Server();
server.connection({
host: 'localhost',
port: 5000
});
return server.register(bridge);
More examples can be found in the examples document and the full api in the API documentation.