[![mholt on Gratipay](http://img.shields.io/badge/tips-accepted-brightgreen.svg?style=flat)](https://www.gratipay.com/mholt/)
[![mholt on Gratipay](http://img.shields.io/badge/tips-accepted-brightgreen.svg?style=flat)](https://www.gratipay.com/mholt/)
Papa Parse (formerly the jQuery Parse Plugin) is a robust and powerful CSV (character-separated values) parser with these features:
Papa Parse is the fastest CSV (or delimited text) parser for JavaScript. It is reliable and correct according to [RFC 4180](https://tools.ietf.org/html/rfc4180), and it comes with these features:
- Easy to use
- Easy to use
- Parse CSV files directly (local or over the network)
- Parse CSV files directly (local or over the network)
- Stream large files (even via HTTP)
- Stream large files (even via HTTP)
- Reverse parsing (converts JSON to CSV)
- Reverse parsing (converts JSON to CSV)
- Auto-detect the delimiter
- Auto-detect delimiter
- Worker threads to keep your web page reactive
- Worker threads to keep your web page reactive
- Header row support
- Header row support
- Pause, resume, abort
- Pause, resume, abort
- Can convert numbers and booleans to their types
- Can convert numbers and booleans to their types
- Graceful and robust error handling
- Small jQuery integration to get files from `<input type="file">` elements
- Minor jQuery integration to get files from `<input type="file">` elements
Papa Parse has **no dependencies** - not even jQuery.
Papa Parse has **no dependencies** - not even jQuery.
@ -30,7 +29,7 @@ Homepage & Demo
Papa Parse for Node
Papa Parse for Node
--------------------
--------------------
[Rich Harris](https://github.com/Rich-Harris) forked this project to make **[Baby Parse](https://github.com/Rich-Harris/BabyParse)** which runs in Node.js environments.
[Rich Harris](https://github.com/Rich-Harris) forked this project to make **[Baby Parse](https://github.com/Rich-Harris/BabyParse)** which runs in Node.js environments. However, it is using an older version of the parser which is very slow and has some bugs.
```bash
```bash
$ npm install babyparse
$ npm install babyparse
@ -40,6 +39,7 @@ $ npm install babyparse
Use it just like Papa Parse. However:
Use it just like Papa Parse. However:
- It is not up to date with the latest parser, so it is slower and has bugs.
- Files are not supported; strings only (you can use Node's file facilities to load file contents yourself)
- Files are not supported; strings only (you can use Node's file facilities to load file contents yourself)
- Some config options are unavailable:
- Some config options are unavailable:
- worker
- worker
@ -70,10 +70,3 @@ Contributing
------------
------------
To discuss a new feature or ask a question, open an issue. To fix a bug, submit a pull request to be credited with the [contributors](https://github.com/mholt/PapaParse/graphs/contributors)! Remember, a pull request, *with test*, is best.You may also discuss on Twitter with [#PapaParse](https://twitter.com/search?q=%23PapaParse&src=typd&f=realtime) or directly to me, [@mholt6](https://twitter.com/mholt6).
To discuss a new feature or ask a question, open an issue. To fix a bug, submit a pull request to be credited with the [contributors](https://github.com/mholt/PapaParse/graphs/contributors)! Remember, a pull request, *with test*, is best.You may also discuss on Twitter with [#PapaParse](https://twitter.com/search?q=%23PapaParse&src=typd&f=realtime) or directly to me, [@mholt6](https://twitter.com/mholt6).
Origins
-------
Papa Parse is the result of a successful experiment by [SmartyStreets](http://smartystreets.com) which matured into an independent, fully-featured Javascript library.
"description":"Papa Parse is a powerful CSV (delimited text) parser for the browser. (A port for Node.js is available as Baby Parse.)",
"description":"Fast and powerful CSV (delimited text) parser for the browser that converts CSV to JSON and JSON to CSV. Supports web workers and streaming large files.",
"description":"Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.",
"description":"Powerful CSV parser that converts CSV to JSON and JSON to CSV. Supports web workers and streaming large files. Gracefully handles malformed input.",
"description":"Powerful CSV parser that converts CSV to JSON and JSON to CSV. Supports web workers and streaming large files. Fastest CSV parser for JavaScript.",