csv-then
v1.0.1
Published
Really simple, promise-based csv file reader
Downloads
3
Readme
csv-then
Really simple, promise-based csv file reader
2 methods
.fromFile(path, options)
.fromFiles(paths, options)
Returns a promise for the csv (or multiple csvs concatenated intoa single array if using fromFiles)
options are anythng compatible with csv-parse http://csv.adaltas.com/parse/. It defaults to {columns: true}
Sorry for the poor docs - very quick hack to scratch an itch, which will become better tested, documented if people start to use it