Comparing version 0.4.0 to 0.4.1
/* | ||
Baby Parse | ||
v0.4.0 | ||
v0.4.1 | ||
https://github.com/Rich-Harris/BabyParse | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "babyparse", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"title": "BabyParse", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -1,13 +0,9 @@ | ||
BabyParse | ||
Baby Parse | ||
========= | ||
I needed a really fast and reliable CSV parser. [PapaParse.com](http://papaparse.com/#demo) is the best one I've come across yet. But it's wrapped up as a jQuery plugin like it's 2006 or something :P | ||
Fast and reliable CSV parser based on [Papa Parse](http://papaparse.com). Papa Parse is for the browser, Baby Parse is for Node.js. | ||
So I stripped out the actual parsing bit and made it Node/AMD compatible, so that I could drop it into non-jQuery projects. The code hasn't been touched other than that - I think there's a load of logic for handling streams and whatnot. I honestly don't know and can't be bothered to look. It seems pretty decent. In the project I'm working on now it was an order of magnitude quicker than the thicket of regex hacks it replaced. | ||
This package has all the functionality of Papa Parse except for web workers and parsing directly from files. You can pass a string to Baby Parse and use any of the other config options as described in the [Papa Parse documentation](http://papaparse.com/docs). | ||
Don't thank me, thank [@mholt](https://github.com/mholt). (Thanks Matt!) | ||
Usage | ||
Basic Usage | ||
----- | ||
@@ -17,3 +13,3 @@ | ||
// pass in the contents of a csv file | ||
parsed = Baby.parse( csv ); | ||
parsed = Baby.parse(csv); | ||
@@ -24,3 +20,11 @@ // voila | ||
For a complete understanding of the power of this library, please refer to the [Papa Parse web site](http://papaparse.com). | ||
Credits | ||
------- | ||
Rich Harris forked Papa Parse to make Baby Parse. [Matt Holt](https://twitter.com/mholt6) (the author of Papa Parse) helps maintain this fork. | ||
License | ||
@@ -27,0 +31,0 @@ ------- |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
32
0
58014