node-csv-parse
A simple JavaScript library that parses CSV/tab-delimited files. No dependencies except mocha for testing. Currently only tested in Node v5.0.0. With a few light modifications, it should work in browsers.
Getting Started
Install via npm
npm install --save node-csv-parse
Use in your code like this
var parser = require('node-csv-parse'),
fs = require('fs');
fs.readFile('test.csv', 'utf8', (err, data) => {
if(err) { throw err; }
console.log(parser(data).asObjects());
});
Known Issues
See here.
License
Licensed under GPL-2.0.
Contributing
Contributions are welcome via pull requests. They will be reviewed on a case-by-case basis and merged into the main line at my sole discretion.
Credits
Created by Caleb Everett