node-csv-parse icon indicating copy to clipboard operation
node-csv-parse copied to clipboard

CSV parsing implementing the Node.js `stream.Transform` API

Results 12 node-csv-parse issues
Sort by recently updated
recently updated
newest added

**Describe the bug** In the documentation for [trim()](https://csv.js.org/parse/options/trim/), it's mentioned that the function will trim all whitespace around delimiters identically to `\s`: > The characters interpreted as whitespaces are identical...

bug

**Is your feature request related to a problem? Please describe.** When using `column: true` option, we need to get the columns and it would be useful to have them as...

enhancement

Importing `import parse from 'csv-parse/lib/browser/sync'` fails with typescript. This adds the same types as sync.d.ts

**Describe the bug** Quotes are not parsed and an error is raised: > Invalid Opening Quote: a quote is found inside a field at line 2 **To Reproduce** ``` col1...

bug

Hello. I'm trying to use `parse` ` const parse = require('csv-parse/lib/sync') const records = parse(event.target.result, { columns: true, skip_empty_lines: true })` In general, it works fine. But if my file...

bug

When from_line greater than 1 and columns set to true the column headers aren't used as keys in the returned object from the read method. Here's a test script used...

bug

The `samples.coffee` test script doesn't execute any of the scripts in the `~/samples` directory. **Steps(-ish)** Since I'm not familiar with CoffeeScript I had to add a console message in the...

bug

**Is your feature request related to a problem? Please describe.** When column headers differ and their row differs per document (different "intro" in each document) I have to parse once...

enhancement

These strings are not recognised : 'ISO-8859-1', 'ISO 8859-1', 'iso88591' Documentation is not clear about the valid values

> skip_empty_lines : Don't generate records for empty lines (line matching /\s*/), defaults to false. As per the above definition it should ignore a row if it contains any string...