pino-devtools

A transport for viewing logs in your favorite browser devtools!

Installation
$ npm i pino-devtools
Usage
Given an application your-app.js
that logs via pino, you would use pino-devtools
like so:
$ node your-app.js | pino-devtools
pino-devtools
automatically opens a page in your default browser (unless --no-open
is supplied). Open the devtools and you will see the logs coming from your application into the console tab.
Options
--host 127.0.0.1
: the host for the HTTP and web socket servers--port 3010
: the HTTP server port--no-open
: do not automatically open the page in the browser
Note: the web socket port is port + 1
.
License
pino-devtools is released under the Mozilla Public License Version 2.0. See the bundled LICENSE file for details.