PostgreSQL storage plugin for Errsole, a Node.js logger with a built-in web dashboard. Current version is 3.0.0, released as stable. It allows storing application logs in PostgreSQL, integrating with the Errsole ecosystem. Key differentiator: direct log storage in PostgreSQL, leveraging existing database infrastructure. The package ships TypeScript types and uses CommonJS/ESM. Release cadence is not specified, but follows Errsole main package. Note: This is a plugin; requires the main 'errsole' package to function.
npm install errsole-postgresNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes Errsole with PostgreSQL storage plugin and logs a message.
Verify PostgreSQL connection with environment variables; test using a simple SELECT 1.
Wrap initialization in try-catch or ensure database is accessible.
Use named import '{ ErrsolePostgres }' instead of default import.Update import to 'errsole-postgres' directly.
npm install errsole-postgres@latest
Use named import: const { ErrsolePostgres } = require('errsole-postgres'); or import { ErrsolePostgres } from 'errsole-postgres';Start PostgreSQL or update connection config