Worms David

Results 251 comments of Worms David

The idea was never brought up but I am not against it. We've got english, I could handle the French and if you provide a 3rd language, that could be...

Yes, please help. I do not use Typescript, it is mostly based on contributions. I just request a test case to support new type definitions

So the idea could be that if the existing `delimiter` option or a new `auto_delimiter` or a combination of both options (like in the example below) equals an array of...

I am personally quite uncomfortable with this issue because it implies to store in memory the first few lines and going backward once we decide on a delimiter. It feels...

I just push a commit which expose `columns` inside the info/context object with the `cast`, `info` and `on_record` options. I don't wish to enrich state with columns because I am...

If I understood well, the `column` options can already be defined as an array, see those [3 tests](https://github.com/adaltas/node-csv-parse/blob/master/test/option.columns.coffee#L243-L293). It is also [documented](https://csv.js.org/parse/options/columns/#as-a-function). Does this answer your need or did I...

Then please illustrate your requirements with a minimalist sample.

Valid values are the ones defined by Node.js. I provided a link in the [encoding option page](https://csv.js.org/parse/options/encoding/), search for "supported encoding".

Don't raise your hope too high but chances are that the [`relax`](https://csv.js.org/parse/options/) will help you. It does not yet have its own documentation page, help is welcome, but I encourage...

@rayfoss what you are proposing is not relevant to this issue. Worst, the code is not good. Just use `csv-parse/lib/sync` instead of using a useless promise since you don't need...