Skip to content

Latest commit

 

History

History
executable file
·
24 lines (15 loc) · 736 Bytes

README.md

File metadata and controls

executable file
·
24 lines (15 loc) · 736 Bytes

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.