{"library":"pg-query-stream","type":"library","category":null,"description":"pg-query-stream is a Node.js library that provides a readable object stream interface for PostgreSQL query results, using server-side cursors to efficiently handle large result sets without consuming excessive memory. It integrates with the popular 'pg' library (version 8+) and supports TypeScript types. Version 4.15.0 is stable and actively maintained. Unlike manual pagination with LIMIT/OFFSET, it streams rows in real-time, making it ideal for ETL pipelines, data exports, or any scenario where processing large datasets row by row is required. It does not work with the native pg bindings.","language":"javascript","status":"active","version":"4.15.0","tags":["javascript","postgres","query-stream","pg","query","stream","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-query-stream","imports":["import QueryStream from 'pg-query-stream'","const QueryStream = require('pg-query-stream')"]},{"cmd":"yarn add pg-query-stream","imports":[]},{"cmd":"pnpm add pg-query-stream","imports":[]}],"homepage":"https://github.com/brianc/node-postgres#readme","github":"git://github.com/brianc/node-postgres","docs":null,"changelog":null,"pypi":null,"npm":"pg-query-stream","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}