A CSV parser written in JavaScript
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
source
spec
.gitignore
README.md
gulp-config.js
gulpfile.js
license.txt
package.json

README.md

CSV Parser

A pure JavaScript CSV parser that transforms takes a CSV as a string as input and returns a JavaScript multidimensional array representing rows and columns as output.

Dependencies

  • For in-browser parsing, IE 11+ for FileReader support, if reading CSV from an uploaded file
  • Jasmine, to run tests
  • npm and gulp to build

Building

  • install gulp with sudo npm install -g gulp if you have not already done so
  • type npm install to install dependencies
  • type gulp to build node and browser versions

Tests

  • To run tests, install Jasmine by typing sudo npm install -g jasmine
  • Run tests by typing npm test

License

CSV Parser is released under the MIT License. See license.txt for more details.