@toki/toki-hapi-bridge

0.0.2 • Public • Published

Toki-Hapi-Bridge

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

Build Status Known Vulnerabilities NSP Status

Example

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.

Readme

Keywords

Package Sidebar

Install

npm i @toki/toki-hapi-bridge

Weekly Downloads

3

Version

0.0.2

License

ISC

Last publish

Collaborators

  • lamchakchan
  • toki