Releases: zemirco/json2csv
Releases · zemirco/json2csv
Absolute Path Support for CLI
Can now do json2csv -i /path/to/my.json along with relative paths.
Default Values
v2.9.0 v2.9.0
Fix falsy values not making it
v2.8.2 v2.8.2
Fix bug with fieldNames error
v2.8.1 v2.8.1
Guess Fields
If fields is not specified, use toplevel fields automatically.
Simplest command would be either json2csv({ data: data }, function (err, csv) {}) or json2csv -i data.json.
Fix nested example
v2.7.1 v2.7.1
Nested Fields
Use nested: true or -x, --nested (cli) and specify a field with dot notation, e.g. 'car.make' to drill down into JSON when generating CSV data.
Readme updates & error if no callback
Prevent parsing large files with improper implementation.
Quotes (cli) & Eslint
- Added .eslintrc
- Converted code to follow eslint config
- Added
-q [value]or--quote [valueto cli.
Change quotes in lib
v2.5.0 Replace quotes with custom character