- Calling the library as a function has been removed in favor of
csv.parse
.csv()
change tocsv.parse()
- Deprecated
fromString
in favor ofparseString
csv.fromString()
change tocsv.parseString()
- Deprecated
fromStream
in favor ofparseStream
acsv.fromStream()
change tocsv.parseStream()
- Deprecated
fromPath
in favor ofparseFile
csv.fromPath()
change tocsv.parseFile()
csv.createWriteStream
has been removed in favor ofcsv.format
csv.writeToBuffer
andcsv.writeToString
no longer accepts acallback
, instead they return a promisePromise