pg-query-stream
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 7
actors 2 distinct systems
last hit 19d ago Bingbot
top countries 🇺🇸 United States · 🇸🇬 Singapore
Resources
packagepg-query-stream ↗