Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

unexpected line break at end #6

Closed
emmettnicholas opened this issue Jun 20, 2014 · 2 comments
Closed

unexpected line break at end #6

emmettnicholas opened this issue Jun 20, 2014 · 2 comments

Comments

@emmettnicholas
Copy link

stringify([['a','b'],['c','d']], function(err, output) {
    console.log(JSON.stringify(output));
});

results in "a,b\nc,d\n"

whereas I expected "a,b\nc,d"

@wdavidw
Copy link
Member

wdavidw commented Jun 21, 2014

This is expected, see the eof options. This has been discussed recently in the csv but i cant find the issue number.

@wdavidw wdavidw closed this as completed Jun 21, 2014
@chadfawcett
Copy link

I also ran into this issue expecting no `\n' at the end of the file. It would be nice if the examples could be the same as the actual output.

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

No branches or pull requests

3 participants