-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Extras
Charmander edited this page Dec 5, 2019
·
39 revisions
node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture:
Standalone PostgreSQL packages.
- brianc/node-pg-native - Simple interface abstraction on top of libpq.
- brianc/node-pg-types - Parsing for PostgreSQL serialized formats.
- datalanche/node-pg-format - Safely and easily create dynamic SQL queries with this Node implementation of PostgreSQL format().
- LinusU/pg-error-constants - Error constants for more robust query error handling.
- brianc/node-pg-cursor - Query cursor extension for node-postgres.
-
brianc/node-pg-copy-streams -
COPY FROM
/COPY TO
for node-postgres. Stream from one database to another, and stuff. - brianc/node-pg-query-stream - Query results from node-postgres as a readable (object) stream.
-
emilbayes/pg-ipc - IPC over PostgreSQL
LISTEN
/NOTIFY
/UNLISTEN
exposed as anEventEmitter
. - kibae/pg-logical-replication - PostgreSQL logical replication client.
- recursivefunk/pg-gen - Paginate through large result sets with cursors.
- holdfenytolvaj/pogi
- langpavel/node-pg-async
- sehrope/node-pg-db - Simpler interface, named parameter support, transaction management and event hooks.
- Suor/pg-bricks - A higher-level wrapper around node-postgres to handle connection settings, SQL generation, transactions and ease data access.
- vitaly-t/pg-promise
RxJS:
Transactions:
- 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.
- 131/sql-template
- sequencework/sql - Tag with convenient querying functions.
- XeCycle/pg-template-tag
- 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.