{"_id":"@crccheck/pino-prettypy","name":"@crccheck/pino-prettypy","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@crccheck/pino-prettypy","version":"0.1.0","main":"index.js","bin":{"pino-prettypy":"bin/pino-prettypy.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","format":"prettier --write ."},"keywords":["pino","pretty","logging"],"author":{"name":"Chris Chang","email":"github@crccheck.com","url":"http://crccheck.com/blog"},"license":"ISC","description":"A wrapper around pino-pretty","dependencies":{"pino-pretty":"*"},"devDependencies":{"prettier":"^3.3.3"},"_id":"@crccheck/pino-prettypy@0.1.0","gitHead":"b4065e7622d13c0fb43c11a85350e7b6de146884","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Gu50/EFgn05zWLVURruUyd3AeElPIYLQ/xlT2n4Awp0/T6eDBFUEddVSDmHYlU0Pse88b1gZXPA7yb5uHSQ2hw==","shasum":"c94b992e8c2953bcc5b24e03055454b07936485e","tarball":"https://registry.npmjs.org/@crccheck/pino-prettypy/-/pino-prettypy-0.1.0.tgz","fileCount":6,"unpackedSize":9502,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIECgtVrwKj9RGzjyHu087oD+oSjbmXXlqMqdV3J8xlenAiEAjbT3ZAK0faDmCFAwBCA+GENKt2AmUtt7YFOyaomMSRU="}]},"_npmUser":{"name":"crccheck","email":"c@crccheck.com"},"directories":{},"maintainers":[{"name":"crccheck","email":"c@crccheck.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pino-prettypy_0.1.0_1759284926304_0.159034143541658"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-01T02:15:26.198Z","0.1.0":"2025-10-01T02:15:26.604Z","modified":"2025-10-01T02:15:26.882Z"},"maintainers":[{"name":"crccheck","email":"c@crccheck.com"}],"description":"A wrapper around pino-pretty","keywords":["pino","pretty","logging"],"author":{"name":"Chris Chang","email":"github@crccheck.com","url":"http://crccheck.com/blog"},"license":"ISC","readme":"# pino-prettypy\n\nA wrapper around [pino-pretty](https://github.com/pinojs/pino-pretty) that adds Python logging level transformation.\n\n> ⚠️ **Note**: This is a toy project and is not actively maintained. It was vibe coded with an LLM.\n\n## What it does\n\nThis tool transforms Python logging levels to Pino levels, allowing you to prettify Python logs that use `levelname` with pino-pretty.\n\n**Python → Pino level mapping:**\n\n- `DEBUG` → 20\n- `INFO` → 30\n- `WARNING` → 40\n- `ERROR` → 50\n- `CRITICAL` → 60\n\n## Installation\n\n```bash\nnpm install -g @crccheck/pino-prettypy\n```\n\nOr use with npx:\n\n```bash\nnpx @crccheck/pino-prettypy\n```\n\n## Usage\n\nPipe your Python JSON logs through pino-prettypy:\n\n```bash\ncat your-python-logs.jsonl | pino-prettypy\n```\n\nAll pino-pretty options are supported:\n\n```bash\ncat your-python-logs.jsonl | pino-prettypy -t -c\n```\n\n## How it works\n\n1. Transforms `\"levelname\":\"INFO\"` → `\"level\":30`\n2. Pipes the transformed JSON through pino-pretty\n3. Outputs beautifully formatted logs\n\n## License\n\nISC\n\nThis project includes code from [pino-pretty](https://github.com/pinojs/pino-pretty), which is licensed under the MIT License.\n\n## Author\n\nChris Chang <github@crccheck.com>\n","readmeFilename":"README.md","_rev":"1-2d98b373049e2c7e8a2e1404b6c2092c"}