0.6.2 • Published 8 years ago

hummel-hapi v0.6.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Hummel Hapi.js Integration

Allows a Hapi Server to be started and configured using hummel logging, settings, and standard configuration parameters.

All log events are intecepted and mapped to the corresponding bunyan log method by tag. (Defaults to debug)

The Hapi debug console logging is disable and piped through bunyan instead.

Install

npm install hummel-hapi --save

Usage

var server = require('hummel-hapi').createServer();

server.route({
    method: 'GET',
    path: '/',
    handler: function(request, reply) {
        reply('Hello World!');
    }
});

server.run();

Versions

0.6.0

hapi: 6.6.0 => 13.0.0
lodash-node: 2.4.1 => 3.10.2
0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago