pino-utils v1.4.0 is a zero-dependency, colorized logger utility for Node.js that provides a higher-level API over pino with emoji icons, ISO timestamps, and six log levels (trace, debug, info, warn, error, fatal). It ships TypeScript definitions and supports both ESM and CJS. Similar to pino-pretty but packaged as a standalone logger rather than a transport, it offers immediate usability without additional configuration. The package is actively maintained with a moderate release cadence and is ideal for projects wanting a prettified console logger without pulling in heavy formatters.
npm install pino-utilsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of the logger with all log levels, showing colorized and timestamped output.
Use pino-pretty as a transport if you need to format pino streams. pino-utils is a standalone logger.
If you need separate loggers with different configurations, consider using pino directly or creating multiple instances via pino-utils API (if available in future versions).
Use named import: import { logger } from 'pino-utils'Add "type": "module" to package.json or use require with destructuring: const { logger } = require('pino-utils')Use named import: import { logger } from 'pino-utils'No dependency data recorded yet.