Socket
Socket
Sign inDemoInstall

node-csv-parse

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-csv-parse

A simple JavaScript library that uses generators to parse CSV/tab-delimited files, no dependencies except mocha for testing


Version published
Weekly downloads
29
decreased by-60.27%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 08 Jun 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc