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

Read csv with multiple line breaks (\r, \n, \r\n) #201

Open
chikku1780 opened this issue May 20, 2021 · 1 comment
Open

Read csv with multiple line breaks (\r, \n, \r\n) #201

chikku1780 opened this issue May 20, 2021 · 1 comment

Comments

@chikku1780
Copy link

  • Operating System: Linux
  • Node Version: v10.16.3
  • NPM Version: 6.9.0
  • csv-parser Version: csv-parser@3.0.0

Feature Proposal

I'm expecting to read csv files irrespective of different types of line breaks. But It is taking only one. I want to give newline option value as '\n', \r', '\r\n' instead of '\n' (String).

Feature Use Case

newline: ['\r', '\n', '\r\n']

Thanks,
Chikku

@fanguangjian
Copy link

I have the same problem for '\r\n'

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

No branches or pull requests

2 participants