Gathering detailed insights and metrics for papaparse
Gathering detailed insights and metrics for papaparse
Gathering detailed insights and metrics for papaparse
Gathering detailed insights and metrics for papaparse
@types/papaparse
TypeScript definitions for papaparse
papaparse-min
Minified version of 'papaparse' library.
angular-papaparse
angular-PapaParse is an Angular factory wrapper for PapaParse (https://github.com/mholt/PapaParse)
vue-papa-parse
A simple wrapper for for the original PapaParse built for VueJs. Supports both Vue 2 & Vue 3.
Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
npm install papaparse
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
12,572 Stars
506 Commits
1,149 Forks
153 Watching
2 Branches
141 Contributors
Updated on 28 Nov 2024
Minified
Minified + Gzipped
JavaScript (90.33%)
CSS (7.54%)
HTML (2.13%)
Cumulative downloads
Total Downloads
Last day
-7.8%
548,942
Compared to previous day
Last week
0.8%
3,053,688
Compared to previous week
Last month
9.1%
12,875,732
Compared to previous month
Last year
39.9%
124,712,238
Compared to previous year
Papa Parse is the fastest in-browser CSV (or delimited text) parser for JavaScript. It is reliable and correct according to RFC 4180, and it comes with these features:
<input type="file">
elementsPapa Parse has no dependencies - not even jQuery.
papaparse is available on npm. It can be installed with the following command:
1npm install papaparse
If you don't want to use npm, papaparse.min.js can be downloaded to your project source.
1import Papa from 'papaparse'; 2 3Papa.parse(file, config); 4 5const csv = Papa.unparse(data[, config]);
To learn how to use Papa Parse:
The website is hosted on Github Pages. 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.
Papa Parse can parse a Readable Stream instead of a File 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.
Papa Parse can also parse in a node streaming style which makes .pipe
available. Simply pipe the Readable Stream 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)
.
For usage instructions, see the homepage and, for more detail, the documentation.
Papa Parse is under test. Download this repository, run npm install
, then npm test
to run the tests.
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! Remember, a pull request, with test, is best. You may also discuss on Twitter with #PapaParse or directly to me, @mholt6.
If 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.
The latest stable version of the package.
Stable Version
2
7.5/10
Summary
Regular Expression Denial of Service in papaparse
Affected Versions
< 5.2.0
Patched Versions
5.2.0
7.5/10
Summary
PapaParse Inefficient Regular Expression Complexity vulnerability
Affected Versions
< 5.2.0
Patched Versions
5.2.0
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 22/30 approved changesets -- score normalized to 7
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More