Parsing Changed#
Signature changes#
- Calling the library as a function has been removed in favor of
csv.parse.csv() change to csv.parse()
- Deprecated
fromString in favor of parseStringcsv.fromString() change to csv.parseString()
- Deprecated
fromStream in favor of parseStreamacsv.fromStream() change to csv.parseStream()
- Deprecated
fromPath in favor of parseFilecsv.fromPath() change to csv.parseFile()
Formatting Changes#
csv.createWriteStream has been removed in favor of csv.formatcsv.writeToBuffer and csv.writeToString no longer accepts a callback, instead they return a promise Promise