Palin is a Bristol log formatter for development, providing colorful, detailed console output with timestamps, file paths, and support for multiple arguments including Errors and objects. Version 2.3.0 is current and stable. It requires Bristol ~0.4.0 as a peer dependency. Unlike generic formatters, Palin offers configurable timestamp, indent, object depth, and source display options.
npm install palinNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require Palin with Bristol, configure options, and log messages including an Error.
Run 'npm install bristol' alongside palin.
Use the option name 'source' (not 'souce').
Consider migrating to a maintained logging library like Winston or pino.
Pin Bristol to ~0.4.0 in package.json.
Run 'npm install bristol' in your project.
Ensure you have bristol@~0.4.0 installed and required as 'const bristol = require('bristol');'Use 'const palin = require('palin');' (default export is a function).Switch to CommonJS: 'const palin = require('palin');'