Skip to content

Latest commit

 

History

History
executable file
·
56 lines (41 loc) · 2.19 KB

README.md

File metadata and controls

executable file
·
56 lines (41 loc) · 2.19 KB

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