csv-then

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i csv-then

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

1.51 kB

Total Files

3

Last publish

Collaborators

  • wheresrhys