triple-beam is a tiny, dependency-free library providing core functionality for log formatting in Node.js. It defines a simple, extensible format API allowing you to transform log information (levels, messages, metadata) into various output formats: strings, JSON, and more. Its primary use case is within larger logging libraries like Winston or Pino, offering a performant and flexible way to customize log message structure and content without imposing a specific logging solution.