d3 / d3-dsv

A parser and formatter for delimiter-separated values, such as CSV and TSV.

Home Page:https://d3js.org/d3-dsv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csv2json cli throws error when using --auto-type

marr opened this issue · comments

Using the --auto-type flag on the command line fails.

$ csv2json --auto-type in.csv > out.json

Line 31 in dsv2json.js:

const rowConverter = options.autoType ? dsv.autoType : null
                                          ^
ReferenceError: dsv is not defined