@aptoma/hapi-log

Hapi Log Plugin

Usage no npm install needed!

<script type="module">
  import aptomaHapiLog from 'https://cdn.skypack.dev/@aptoma/hapi-log';
</script>

README

Build Status

Hapi Log

A Logging plugin for Hapi

Test & Development

Running tests

$ npm test

Watching for changes and run all tests when developing.

$ npm run watch

Creating releases

$ npm run release
$ npm run release:minor
$ npm run release:major

Running benchmarks

$ npm run bench

Developer friendly output

This package includes a script called pretty-hapi-log which can be used to parse the output and make it colorful and pretty.

Example

node my-hapi-server.js | ./node_modules/.bin/pretty-hapi-log