Worms David
Worms David
While you are 100% right on the difficulty to traverse the documentation, I haven't come up yet with a better organisation. Tests are what they are, unit tests. the sample...
Please strip down your example to the essential, why defining host and port if you don't use it.
I dont understand, is it exactly what stringify (soon to be called compile) method is doing ? Stringify, in its new version shall return a string, not an array.
> What if the pos+j exceeds the buffer length There is a function check just for this. It is called `__needMoreData`. Look inside if you think that could be the...
We do it for some other options, not too hard to implement so no problem to go this direction.
Agreed, please propose a PR. (not sure what Lmk stands for)
When copy/pasting your code above into vscode, I can see an invisible character in your sample: It might be becase you are sourcing an utf-8 file with a leading BOM...
Issue was explained on our side, closing.
Just use the [sync API](https://csv.js.org/project/api/sync/) ```js import { generate, parse, transform, stringify } from "csv/sync"; // Or import { parse } from "csv-parse/sync"; // Then parse("your,csv,string", options); ```
Closing since an answer was provided and no comment was added.