PapaParse icon indicating copy to clipboard operation
PapaParse copied to clipboard

Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input

Results 189 PapaParse issues
Sort by recently updated
recently updated
newest added

@pokoli Hi. What do you think about moving from ESLint to [Prettier](http://prettier.io)? Prettier can format 100% of code (eslint can't). It will be easier to control codestyle. Or we can...

If quoteDataWithSpaces set to false, unparse result doesn't quote data with spaces in the start or in the end.

Trying to set chunkSize to 50Kb but no matter what I set it seems to read round 65Kb chunk. Have tried all the 3 settings individually, but do not have...

It's a larger file with the following header: `Zeitstempel,Url,Status,Beitrag` In a lot of the rows a "InvalidQuotes"-Error is returned. One of the rows is the following: ``` 2020-10-15T12:59:36Z,https://www.gutefrage.net/frage/pyschologen-sagen-kein-trauma,öffentlich," Was muss...

### Issue I've got a case where I want the result from `unparse` to include a `header` row even if the provided `data` array is empty. ``` // The following...

#### Description of issue On trying to parse a large file of size > 500mb (without streaming) a misleading error message is thrown as shown below - ![image](https://user-images.githubusercontent.com/30779692/121342559-5f10ef00-c93f-11eb-9133-f557e3b3bef4.png) #### Steps...

I'm not correctly following the verbiage of what needs to be done. Could you add a code section with a simple example? ```javascript const stream = require('stream') const { promisify...

PapaParse breaks multi bytes UTF-8 characters when they are sliced between different chunks of `Buffer`. For example `ç` would become `��`. To reproduce: ```js const Papa = require('papaparse') const {PassThrough}...

When a file is encoded as UTF-8-BOM, PapaParse CSV to Json incorrectly returns the records with the first object key name enclosed in a single quote. One cannot then reference...

enhancement
file reader
needs tests
help wanted

- Modify transformHeader to take 3 new parameters: -- The whole headers row as an array (arr) -- The previous value of the header in that column (acc) -- The...