Skip to content
Charmander edited this page Dec 5, 2019 · 39 revisions

node-postgres is by design pretty light on abstractions. These are some handy modules the community’s been using over the years to complete the picture:

Components

Standalone PostgreSQL packages.

Extensions

API wrappers

RxJS:

Transactions:

Database interfaces

  • grncdr/node-any-db - Thin and less-opinionated database abstraction layer for Node.
  • MassiveJS - A simple relational data access tool that has full JSONB document support for PostgreSQL.

SQL template tags

Query builders

Other

  • acarl/pg-restify - Creates a generic REST API for a PostgreSQL database using restify.
  • archfirst/joinjs - A simple library to map the results of complex joins to nested JavaScript objects (alternative to full-blown ORMs).
  • nuodata/nuodata-db-api - REST API for a PostgreSQL database.
  • ozum/pg-generator - Template-based scaffolding for PostgreSQL. Command line utility which generates files for each table and schema of a PostgreSQL database.
  • ozum/pg-structure - Node library to get structure of a PostgreSQL database automatically as a detailed object.
  • vitaly-t/pg-minify - Minifies PostgreSQL scripts.
Clone this wiki locally