winston-json-formatter

JSON →
library 0.10.0 ·javascript
verified Jun 4, 2026

A JSON and console formatter for winston@3, version 0.10.0. Enables structured logging with configurable output formats (JSON or console) and automatic hostname detection. Supports direct error object logging, custom metadata, and environment-based format switching via NODE_ENV. Released under ISC license, maintained on GitHub by amida-tech. Differentiates from other formatters by offering a simple configuration interface inspired by winston's format system, though it uses the legacy `logger.format` assignment rather than the modern `format` pipeline.