1.0.1 • Published 7 years ago

csv-then v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

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

1.0.1

7 years ago

1.0.0

7 years ago