A parser and formatter for DSV (CSV and TSV) files.

npm install dsv
33 downloads in the last day
151 downloads in the last week
667 downloads in the last month

DSV Parser and Formatter

Extracted from D3.

To use in Node.js, npm install dsv, and then:

var dsv = require("dsv"),
    csv = dsv(",");

console.log(csv.parse("foo\n1")); // [{foo: 1}]

To use in the browser:

<script src="dsv.js"></script>

var csv = dsv(",");



For more usage, see D3's wiki page.

npm loves you