0.3.2 • Published 3 years ago

pino-pretty-min v0.3.2

Weekly downloads
18
License
CC0-1.0
Repository
github
Last release
3 years ago

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