toki-hapi-bridge

0.3.0 • 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

npm version 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-hapi-bridge

Weekly Downloads

0

Version

0.3.0

License

ISC

Last publish

Collaborators

  • xogrp