Skip to content

Feature/stream#134

Merged
iuccio merged 18 commits intomasterfrom
feature/stream
Apr 19, 2026
Merged

Feature/stream#134
iuccio merged 18 commits intomasterfrom
feature/stream

Conversation

@iuccio
Copy link
Copy Markdown
Owner

@iuccio iuccio commented Apr 19, 2026

🚀 New Features

Enhanced Streaming Parsing for Large Files

Memory-Efficient File Processing

  • Added getJsonFromFileStreamingAsync(file) method for processing large CSV files without loading them entirely into memory
  • Automatic fallback to regular parsing for older browsers that don't support native streaming
  • Optimized for files larger than 1MB to prevent memory issues

Progress Callbacks for Real-Time Feedback

  • New getJsonFromFileStreamingAsyncWithCallback(file, options) method with progress tracking
  • onChunk callback provides real-time updates during processing: (rows, processed, total) => {}
  • onComplete callback fires when processing finishes: (allRows) => {}
  • onError callback for error handling: (error) => {}
  • Configurable chunkSize option (default: 1000 rows per chunk)

Comment thread demo/csvToJsonDemo.js Fixed
@iuccio iuccio merged commit 2ad1810 into master Apr 19, 2026
9 checks passed
@iuccio iuccio deleted the feature/stream branch April 26, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants