{"name":"papaparse","version":"5.5.1","keywords":["csv","parser","parse","parsing","delimited","text","data","auto-detect","comma","tab","pipe","file","filereader","stream","worker","workers","thread","threading","multi-threaded","jquery-plugin"],"author":{"url":"https://twitter.com/mholt6","name":"Matthew Holt"},"license":"MIT","_id":"papaparse@5.5.1","maintainers":[{"name":"mholt","email":"mholt@users.noreply.github.com"},{"name":"pokoli","email":"sergi@koolpi.com"}],"homepage":"https://www.papaparse.com/","bugs":{"url":"https://github.com/mholt/PapaParse/issues"},"dist":{"shasum":"4322da01e85d8e9e282c1e4387793a5978b5a0a1","tarball":"http://registry-npm.ywwl.com/papaparse/download/papaparse-5.5.1.tgz","fileCount":22,"integrity":"sha512-EuEKUhyxrHVozD7g3/ztsJn6qaKse8RPfR6buNB2dMJvdtXNhcw8jccVi/LxNEY3HVrV6GO6Z4OoeCG9Iy9wpA==","signatures":[{"sig":"MEQCIHRe5KDpcPPdp/WhHpXD88B7AdVpLwAGaT91siPQkhOoAiAlU4ZZt/dQvev30xRMoYFMBl5v6GVWJMJfn7KHv4AMeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":262695,"size":46475,"noattachment":false,"key":"/papaparse/-/papaparse-5.5.1.tgz"},"main":"papaparse.js","browser":"papaparse.min.js","gitHead":"d0f58aa3c662b7460b2da093bae3f81ef2cb5e30","scripts":{"lint":"eslint --no-ignore papaparse.js Gruntfile.js .eslintrc.js 'tests/**/*.js'","test":"npm run lint && npm run test-node && npm run test-mocha-headless-chrome","build":"grunt build","test-node":"mocha tests/node-tests.js tests/test-cases.js","test-browser":"node tests/test.js","test-mocha-headless-chrome":"node tests/test.js --mocha-headless-chrome"},"_npmUser":{"name":"pokoli","email":"sergi@koolpi.com"},"repository":{"url":"git+https://github.com/mholt/PapaParse.git","type":"git"},"_npmVersion":"10.9.0","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.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","open":"7.0.0","grunt":"^1.5.2","mocha":"^5.2.0","eslint":"^4.19.1","connect":"^3.3.3","serve-static":"^1.7.1","grunt-contrib-uglify":"^5.2.0","mocha-headless-chrome":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/papaparse_5.5.1_1736497765476_0.9304386568535816","host":"s3://npm-registry-packages-npm-production"},"readme":"Parse CSV with JavaScript\n========================================\n\nPapa Parse is the fastest in-browser 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:\n\n- Easy to use\n- Parse CSV files directly (local or over the network)\n- Fast mode\n- Stream large files (even via HTTP)\n- Reverse parsing (converts JSON to CSV)\n- Auto-detect delimiter\n- Worker threads to keep your web page reactive\n- Header row support\n- Pause, resume, abort\n- Can convert numbers and booleans to their types\n- One of the only parsers that correctly handles line-breaks and quotations\n\nPapa Parse has **no dependencies**.\n\nInstall\n-------\n\npapaparse is available on [npm](https://www.npmjs.com/package/papaparse). It\ncan be installed with the following command:\n```shell\nnpm install papaparse\n```\n\nIf you don't want to use npm, [papaparse.min.js](https://unpkg.com/papaparse@latest/papaparse.min.js) can be downloaded to your project source.\n\nUsage\n-----\n```js\nimport Papa from 'papaparse';\n\nPapa.parse(file, config);\n    \nconst csv = Papa.unparse(data[, config]);\n```\n\nHomepage & Demo\n----------------\n\n- [Homepage](https://www.papaparse.com)\n- [Demo](https://www.papaparse.com/demo)\n\nTo learn how to use Papa Parse:\n\n- [Documentation](https://www.papaparse.com/docs)\n\nThe website is hosted on [Github Pages](https://pages.github.com/). Its content is also included in the docs folder of this repository. If you want to contribute on it just clone the master of this repository and open a pull request.\n\n\nPapa Parse for Node\n--------------------\n\nPapa Parse can parse a [Readable Stream](https://nodejs.org/api/stream.html#stream_readable_streams) instead of a [File](https://www.w3.org/TR/FileAPI/) when used in Node.js environments (in addition to plain strings). In this mode, `encoding` must, if specified, be a Node-supported character encoding. The `Papa.LocalChunkSize`, `Papa.RemoteChunkSize` , `download`, `withCredentials` and `worker` config options are unavailable.\n\nPapa Parse can also parse in a node streaming style which makes `.pipe` available.  Simply pipe the [Readable Stream](https://nodejs.org/api/stream.html#stream_readable_streams) to the stream returned from `Papa.parse(Papa.NODE_STREAM_INPUT, options)`.  The `Papa.LocalChunkSize`, `Papa.RemoteChunkSize` , `download`, `withCredentials`, `worker`, `step`, and `complete` config options are unavailable.  To register a callback with the stream to process data, use the `data` event like so: `stream.on('data', callback)` and to signal the end of stream, use the 'end' event like so: `stream.on('end', callback)`.\n\nGet Started\n-----------\n\nFor usage instructions, see the [homepage](https://www.papaparse.com) and, for more detail, the [documentation](https://www.papaparse.com/docs).\n\nTests\n-----\n\nPapa Parse is under test. Download this repository, run `npm install`, then `npm test` to run the tests.\n\nContributing\n------------\n\nTo 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).\n\nIf you contribute a patch, ensure the tests suite is running correctly. We run continuous integration on each pull request and will not accept a patch that breaks the tests.\n","publish_time":1736497765668,"_cnpm_publish_time":1736497765668,"dist-tags":{"beta":"5.0.0-beta.0","latest":"5.7.0"}}