@streetjs/plugin-postgres

Official StreetJS plugin: PostgreSQL connection pool (wraps the native, dependency-free core driver).

Trust signals

  • Signed manifest (Ed25519) — manifest.signed.json is committed and verified by the plugin host on load
  • Dependency-free — no third-party runtime dependencies (only the streetjs framework)
  • MIT licensed · Node.js ≥ 20 · TypeScript-native
  • npm provenance — official plugins are published with build attestations (enforced in CI)

Install

1
npm install @streetjs/plugin-postgres

Quick start

Register the plugin with the StreetJS plugin host, then use it from your controllers/services. See the package README on npm for the full configuration and API, and the Plugin System guide for registration, capabilities and signature verification.

Compatibility

   
StreetJS ^1.0.6
Node.js >=22.0.0
TypeScript >=5.0.0 (NodeNext)

Derived from this package’s dependencies.streetjs, engines.node, and peerDependencies.typescript. See the compatibility matrix for the full support grid.

Certification

This is an Official plugin — maintained by the StreetJS team in the monorepo, CI-tested, and published with a signed manifest. See the plugin certification levels.

  • @streetjs/plugin-mongodb — Official StreetJS plugin: MongoDB (dependency-free BSON + OP_MSG + SCRAM-SHA-256 client).
  • @streetjs/plugin-mysql — Official StreetJS plugin: MySQL/MariaDB connection pool (wraps the native, dependency-free core driver).
  • @streetjs/plugin-supabase — Official StreetJS plugin: Supabase PostgREST data API (dependency-free HTTPS client).

Browse the full Plugin Marketplace or all Database plugins.