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

Refactor the entire library to ES6 #233

Merged
merged 3 commits into from
Jan 26, 2018
Merged

Refactor the entire library to ES6 #233

merged 3 commits into from
Jan 26, 2018

Conversation

juanjoDiaz
Copy link
Collaborator

Alright. Here comes the madness.
Full refactor of the library to a more modular architecture and ES6.
All test passing and no functionality change.
The only change is that: preserveNewLinesInValues is gone. I don't see why we should by default be stripping characters from strings and have an option to don't do so.

I have also half-way there the streaming API build on top of the methods introduced by the PR so I'll finish that and push it once this is merged.

README.md Outdated

var csv = json2csv({ data: myCars, fields: fields });
const csv = json2csv({ data: myCars, fields: fields });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example doesn't seem to be using the new data parameter.

@knownasilya
Copy link
Collaborator

Also looks like travis is failing due to a console.log

@coveralls
Copy link

coveralls commented Jan 26, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 802d819 on juanjoDiaz:huge_refactor into 6cc74b2 on zemirco:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 9615da8 on juanjoDiaz:huge_refactor into 6cc74b2 on zemirco:master.

@knownasilya knownasilya merged commit dce4d33 into zemirco:master Jan 26, 2018
@juanjoDiaz juanjoDiaz deleted the huge_refactor branch February 4, 2018 22:07
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