FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Data Export with Claude Code: Streaming CSV and Excel Without Memory Issues
NewsSystems

Data Export with Claude Code: Streaming CSV and Excel Without Memory Issues

via Dev.tomyougaTheAxo3w ago

"Download all users as CSV" sounds simple until you have 100,000 rows and the process runs out of memory. Claude Code generates streaming export implementations — cursor-based pagination, CSV injection prevention, and background job handling. CLAUDE.md for Data Export Standards ## Data Export Rules ### Volume thresholds - Under 10,000 rows: synchronous response OK - Over 100,000 rows: background job required (BullMQ) - Never load all rows into memory — use cursor-based streaming ### CSV specification - Encoding: UTF-8 with BOM (prevents Excel garbling) - Line endings: CRLF (Windows default) - Quoting: double-quote all fields - Headers: always include, localized labels OK - Dates: YYYY-MM-DD HH:mm:ss (explicit timezone) ### Security - CSV injection prevention: prefix =, +, -, @ values with single quote - Export endpoints require authentication - Download URLs expire in 15 minutes (signed URLs) ### Performance - Batch size: 1,000 rows per DB query - Large files: gzip before delivery - St

Continue reading on Dev.to

Opens in a new tab

Read Full Article
24 views

Related Articles

News

Most Frequent N-Gram

Medium Programming • 3d ago

News

Leetcode#1297: Maximum Number of Occurrences of a Substring

Medium Programming • 3d ago

The Outbox Pattern: A Consistent Approach to Distributed Transactions
News

The Outbox Pattern: A Consistent Approach to Distributed Transactions

Medium Programming • 3d ago

6o6 v1.1: Faster 6502-on-6502 virtualization for a C64/Apple II Apple-1 emulator
News

6o6 v1.1: Faster 6502-on-6502 virtualization for a C64/Apple II Apple-1 emulator

Lobsters • 3d ago

ChemBERTa-2: Towards Chemical Foundation Models
News

ChemBERTa-2: Towards Chemical Foundation Models

Dev.to • 3d ago

Discover More Articles