Skip to content

unjello/pino-pretty-min

Repository files navigation

npm version Build Status Depdendencies Status devDependenciesi Status downloads js-standard-style

pino-pretty-min 🕉️

A minimalistic ndjson formatter for pino. Theme highly inspired (almost 1:1) by Golang logger called logrus. This package wouldn't have happened if not for pino-colada. Props.

pino-pretty-min

Usage

First, install prettifier as a dev-dependency in your project (works with npm and pnpm, probably with yarn too).

npm i -D pino-pretty-min

then, pipe your pino-enabled application's output to the prettifier, or even better, make it a npm-script:

"scripts": {
  "start": "node ./bin.js | pino-pretty-min",
}

Install

npm install pino-pretty-min

License

  • CC0 (~Public Domain)

Related Work

About

minimalistic ndjson logger for pino

Resources

License

Stars

Watchers

Forks

Packages

No packages published