Postgres store plugin for the forerunner job queue library. Version 0.0.3, no recent updates (seems abandoned). Provides a simple way to persist job queues in PostgreSQL. Minimal documentation, no TypeScript types, no tests visible. Comparable to other job queue stores but less maintained.
npm install forerunner-postgres-storeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate the Postgres store and start forerunner with it.
Consider using an alternative like pg-boss or bull with Postgres.
Provide database config as object, not connection URI.
Always provide a callback and start forerunner inside it.
Pin pg to an older version (e.g., 4.x) or migrate to a maintained store.
Run the SQL script provided in the package's utils/ folder before using.
npm install forerunner forerunner-postgres-store
var store = new pgStore(dbOpts, callback);
Ensure PostgreSQL is running on localhost:5432 and credentials are correct.
Run the SQL from node_modules/forerunner-postgres-store/utils/ to create the table.