mafintosh / mafintosh/csv-parser
Skip Empty Lines
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
### Feature Proposal
An option to skip empty lines and continue processing.
### Feature Use Case
CSV data I am importing has empty lines, which throw a RangeError.
But in the few places they exist, under header and end of files rows it is fine to have.
CSV is exported from bank for account statements, writing a script to import them into Invoice Ninja on a schedule.
Easy to adapt and add as shown in PR.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by locating the parser entry point and existing handling for empty rows. Verify the requested option against CSV input with empty lines under the header and at the end, and confirm that normal rows still process without a RangeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100