Pretty formatter for Crowlog JSON logs. Pipe your logs through this CLI for beautiful, colored, human-readable output during development.
npm install @crowlog/prettyThis package is a CLI tool to pretty print the logs of a Crowlog logger.
``bashpnpm
pnpm install -D @crowlog/pretty
Usage
Just pipe the logs to the
crowlog-pretty command:`bash
using node
node index.js | npx crowlog-prettyusing tsx
tsx watch index.ts | npx crowlog-pretty
`Or in your
package.json:`json5
"scripts": {
// using node
"dev": "node index.js | crowlog-pretty",
// using tsx
"dev": "tsx watch index.ts | crowlog-pretty",
},
``This project is open to contributions. If you have any suggestions, please open an issue or a PR.
This project is licensed under the MIT License. See the LICENSE file for more information.
This project is crafted with ❤️ by Corentin Thomasset.
If you find this project helpful, please consider supporting my work.