Inist-CNRS / node-csv-string

CSV Strings & Streams for Javascript since 2012
Other
87 stars 18 forks source link

CSV.stringify of an empty array should not return "undefined\r\n" #30

Closed ghost closed 6 years ago

ghost commented 6 years ago
> CSV.stringify([]);
"undefined\r\n"

I would expect an empty string or an error.

ghost commented 6 years ago

@touv, thanks for the quick fix.