Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip first x lines before parsing #267

Closed
kcarthic opened this issue Jul 22, 2019 · 1 comment
Closed

Skip first x lines before parsing #267

kcarthic opened this issue Jul 22, 2019 · 1 comment
Assignees
Milestone

Comments

@kcarthic
Copy link

I have a use case where the incoming stream has to skip first few lines of data. I have written standard code to intercept the stream and then write entire data to fast-csv parser. But it would be sleek if the library is able to take following as options and skips accordingly

//Numeric value to skip x top lines
     skipTopLines: x,
@doug-martin doug-martin added this to the v3.5.1 milestone Dec 15, 2019
doug-martin added a commit that referenced this issue Dec 16, 2019
* [ADDED] `skipRows` to allow skipping parsed rows see parsing.md
* [ADDED] `skipLines` to allow skipping entire lines of a csv parsing.md #267
This was referenced Dec 16, 2019
doug-martin added a commit that referenced this issue Dec 17, 2019
* [ADDED] `maxRows` option to limit the number of rows parsed. #275 #277 - @cbrittingham
* [ADDED] `skipRows` to allow skipping parsed rows see parsing.md
* [ADDED] `skipLines` to allow skipping entire lines of a csv parsing.md #267
* Exported formatting and parsing types.
* Removed `.npmignore` in favor of `package.json` files
@doug-martin
Copy link
Contributor

Released in v3.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants