winston-postgres

JSON →
library 0.0.4 ·javascript maintenance
verified Jun 5, 2026

A Winston transport for logging messages to a PostgreSQL database. Version 0.0.4 – appears to be a mature but unmaintained package with limited releases. It supports both table-based logging (specifying a table with columns 'level', 'message', 'metadata') and PostgreSQL function-based logging. Key options include connection string, SSL toggle, timestamp, table name, database function, and an optional ignoreMessage filter. Requires Winston (version 0.x compatibility noted) and a running PostgreSQL instance. Differentiating from other transports: it uses connection string directly and supports custom database functions.