report-stream-export

Export CSV, ExcelJS, and PDF reports via streaming pipelines with SSE progress updates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mthang1801/go-domain-driven-design --skill report-stream-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: report-stream-export
Source: https://github.com/mthang1801/go-domain-driven-design/tree/main/.claude/skills/stream-pipeline/report
Command: npx skills add https://github.com/mthang1801/go-domain-driven-design --skill report-stream-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streaming large reports to avoid memory bottlenecks and provide real-time progress feedback via SSE during export.

Core Features & Use Cases

  • Supports exporting CSV, ExcelJS, and PDF via streaming pipelines.
  • Uses template-driven design and TypeORM's $stream() to handle big data without loading everything into memory.
  • Provides real-time progress updates through a dedicated SSE endpoint for an interactive user experience.
  • Works with push-to-file and multi-sheet exports to fit enterprise reporting needs.

Quick Start

Trigger a report export using the streaming endpoint to start a CSV/Excel/PDF export and monitor progress via SSE.

Frequently Asked Questions about report-stream-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export large data reports in NestJS without running out of memory?

Export large data reports in NestJS without memory bottlenecks by streaming database records directly into CSV, ExcelJS, or PDF pipelines using TypeORM's $stream({ usePgQueryStream: true }), avoiding loading entire datasets into memory.

How does SSE progress tracking work for big data report exports?

SSE progress tracking for big data report exports works by using a dedicated SSE endpoint to push real-time status, progress percentages, and final download paths to the client while the streaming pipeline processes the data.

Can I generate multi-sheet Excel exports using a template-driven streaming pipeline?

Yes, you can generate multi-sheet Excel exports using a template-driven streaming pipeline. The approach supports ExcelJS to handle multi-sheet workflows and push-to-file operations for enterprise reporting needs.

Does TypeORM $stream support real-time progress updates during CSV exports?

TypeORM $stream supports real-time progress updates during CSV exports by piping the query stream through the export pipeline while an SSE endpoint pushes progress statuses and final download paths to the client.

What is the best way to handle big data PDF exports in a NestJS application?

The best way to handle big data PDF exports in a NestJS application is to use a template-driven streaming pipeline with TypeORM's $stream({ usePgQueryStream: true }), preventing memory bottlenecks by processing chunks sequentially.