Registry / database / jive-persistence-postgres

jive-persistence-postgres

JSON →
library0.0.24jsnpmunverified

Postgres persistence strategy for jive-sdk (v0.0.24). Provides database connectivity and query building for Node.js applications using the jive framework. No release cadence or security updates indicated. Limited to Postgres integration; no active maintenance visible.

npm install jive-persistence-postgres
INSTALL
IMPORT
SIG · JIVE-PERSISTENCE-P
J
jive-persistence-postgres
databasejavascriptv0.0.24
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
const persistence = require('jive-persistence-postgres');
import persistence from 'jive-persistence-postgres';
Package is CJS-only, does not support ESM imports.
PostgresStore
const { PostgresStore } = require('jive-persistence-postgres');
const PostgresStore = require('jive-persistence-postgres').PostgresStore;
Named export available via destructuring.

Shows how to initialize a PostgresStore, execute a query, and cleanly close the connection.

const persistence = require('jive-persistence-postgres'); const config = { host: 'localhost', port: 5432, database: 'test', user: process.env.DB_USER ?? 'postgres', password: process.env.DB_PASS ?? '' }; async function example() { const store = new persistence.PostgresStore(config); await store.init(); const result = await store.execute('SELECT NOW()'); console.log(result.rows); await store.close(); } example().catch(console.error);
Debug
Known issues
deprecatedPackage is no longer maintained; last update years ago.
fix
Migrate to a maintained Postgres client like 'pg' directly or use an ORM.
affects: *
Errors
Common errors & fixes
Cannot find module 'jive-persistence-postgres'
Package missing or not installed
fix
npm install jive-persistence-postgres
TypeError: persistence.PostgresStore is not a constructor
Using default import instead of destructuring named export
fix
Use const { PostgresStore } = require('jive-persistence-postgres');
Upgrade
Version history
0.0.24latest on npm
Audit
Dependencies
pgrequiredPostgreSQL client for Node.js
generic-poolrequiredConnection pooling
Agent activity
49 hits · last 30 days
node
48
Bingbot
1
Resources