Skip to content

Releases: zemirco/json2csv

Absolute Path Support for CLI

24 Aug 12:30

Choose a tag to compare

Can now do json2csv -i /path/to/my.json along with relative paths.

Default Values

07 Aug 01:28

Choose a tag to compare

v2.9.0

v2.9.0

Fix falsy values not making it

23 Jul 17:38

Choose a tag to compare

Fix bug with fieldNames error

20 Jul 00:57

Choose a tag to compare

Guess Fields

16 Jul 17:43

Choose a tag to compare

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

16 Jul 17:41

Choose a tag to compare

v2.7.1

v2.7.1

Nested Fields

16 Jul 13:13

Choose a tag to compare

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

16 Jul 02:28

Choose a tag to compare

Prevent parsing large files with improper implementation.

Quotes (cli) & Eslint

16 Jul 02:07

Choose a tag to compare

  • Added .eslintrc
  • Converted code to follow eslint config
  • Added -q [value] or --quote [value to cli.

Change quotes in lib

16 Jul 02:06

Choose a tag to compare

v2.5.0

Replace quotes with custom character