Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

reflektor

Hapi plugin for logging stdout/stderr to browser console

Build Status

NPM

Require in Hapi

var Hapi = require('hapi');

var server = new Hapi.Server();

var options = {
    endpoint: '/debug/terminal'
};

server.require('reflektor', options, function (err) {
...

Usage

Launch a browser and navigate to /debug/terminal under your hapi server. Open the dev tools and view the console. Any writes to the stdout or stderr on the server will be logged to the browser console.

Example

About

Hapi plugin for logging stdout/stderr to browser console

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages