pino-cone

A ndjson formatter for pino

Usage no npm install needed!

<script type="module">
  import pinoCone from 'https://cdn.skypack.dev/pino-cone';
</script>

README

pino-cone Logo

pino-cone     

ndjson formatter for pino, used best with fastify Based on pino-pretty-min

Showcase

Features

  • Detection and formatting of Incoming Request and Outgoing Response for Fastify
  • Formatted Error and Object printing
  • Accepts input using pipe

Installation

Install through npm

npm install -g pino-cone

Usage

Pipe ndjson data into it by either redirecting your program's output or reading a log file

npm start | pino-cone

Or if your log file is named "out.log"

tail -f out.log | pino-cone

Planned Features

  • Colorization Settings
  • Load as fastify plugin

Release Notes

Check CHANGELOG.md

Contact

You can find me on Discord: rolandostar@8942 and Reddit!

If you like this extension, please consider a small donation.

Donate with PayPal button