pg-batch-query
JSON →pg-batch-query v1.4.5 is a lightweight PostgreSQL batch query library that uses the Extended Query Protocol to triple query throughput by batching multiple parameter sets into a single parse-bind-execute sync cycle. It is a thin wrapper around the popular 'pg' driver, requiring Node 22+. Unlike naive Promise.all or individual queries, it sends multiple binds/exeutes over one connection without waiting for results until Sync. Ships TypeScript types. Infrequent releases, maintained by iamkhush. Differentiator: performance gains through wire protocol batching vs. sequential or concurrent pg queries.
Resources
packagepg-batch-query ↗