Open mhkeller opened 4 years ago
I wouldn't change the API of d3-dsv, though it seems strange, also not something that I've encountered
It wouldn't be an api change just adding a trim here. Something like this: https://github.com/mhkeller/indian-ocean/pull/95
This is mostly done on the trim
branch. Since it's a breaking change, I'm going to wait until this is done https://github.com/mhkeller/indian-ocean/issues/102
This is the same behavior as d3-dsv. Seems like another option would be to call .trim() before reading and expose an option to disable that if necessary. Indian ocean already strips out the BOM character so could make sense. i dont really see how loading in empty lines would ever be meaningful.