This package has been deprecated

Author message:

This is not the package you're looking for, see 'csv-parse' instead

node-csv-parse

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i node-csv-parse

Weekly Downloads

97

Version

1.2.0

License

GPL-2.0

Last publish

Collaborators

  • everettcaleb