Frontend reading first 2 lines in large csv file
Is there a clean way to read only first 2 lines in csv file without loading whole file into memory? Users can upload big files and I want to read header column of those files
1 Reply
Found a fine answer, but needed to customize it a bit, if anyone has this issue:
https://github.com/anpur/line-navigator
GitHub
GitHub - anpur/line-navigator: Read line-by-line, navigate by index...
Read line-by-line, navigate by index and search inside local files right in browser via HTML5 and JS - GitHub - anpur/line-navigator: Read line-by-line, navigate by index and search inside local fi...