{"library":"winston-postgres","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"0.0.4","tags":["javascript","winston","postgres","transport"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install winston-postgres","imports":["import { Postgres } from 'winston-postgres';","import winston from 'winston'; import { Postgres } from 'winston-postgres'; winston.add(new winston.transports.Postgres(options));","new (require('winston-postgres').Postgres)({ connectionString: '...', tableName: 'logs' })"]},{"cmd":"yarn add winston-postgres","imports":[]},{"cmd":"pnpm add winston-postgres","imports":[]}],"homepage":"https://github.com/adjoinant/winston-postgres","github":"ssh://git@github.com/adjoinant/winston-postgres","docs":null,"changelog":null,"pypi":null,"npm":"winston-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}