json-2-csv
Advanced tools
Comparing version 5.5.3 to 5.5.4
@@ -50,4 +50,3 @@ 'use strict'; | ||
trimHeaderFields: false, | ||
wrapBooleans: false, | ||
}; | ||
exports.excelBOM = '\ufeff'; |
@@ -148,3 +148,3 @@ interface DelimiterOptions { | ||
} | ||
export interface DefaultCsv2JsonOptions extends Pick<SharedConverterOptions, 'keys'>, Pick<Csv2JsonOptions, 'headerFields'>, Pick<Csv2JsonOptions, 'parseValue'>, Omit<Omit<Omit<BuiltCsv2JsonOptions, 'keys'>, 'headerFields'>, 'parseValue'> { | ||
export interface DefaultCsv2JsonOptions extends Pick<SharedConverterOptions, 'keys'>, Pick<Csv2JsonOptions, 'headerFields'>, Pick<Csv2JsonOptions, 'parseValue'>, Omit<Omit<Omit<Omit<BuiltCsv2JsonOptions, 'wrapBooleans'>, 'keys'>, 'headerFields'>, 'parseValue'> { | ||
} | ||
@@ -151,0 +151,0 @@ export interface FullJson2CsvOptions extends DefaultJson2CsvOptions { |
@@ -8,3 +8,3 @@ { | ||
"description": "A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.", | ||
"version": "5.5.3", | ||
"version": "5.5.4", | ||
"homepage": "https://mrodrig.github.io/json-2-csv", | ||
@@ -11,0 +11,0 @@ "repository": { |
@@ -243,18 +243,30 @@ # json-2-csv | ||
Arguments: | ||
jsonFile JSON file to convert | ||
Options: | ||
-V, --version output the version number | ||
-o, --output [output] Path of output file. If not provided, then stdout will be used | ||
-f, --field <delimiter> Optional field delimiter | ||
-w, --wrap <delimiter> Optional wrap delimiter | ||
-e, --eol <delimiter> Optional end of line delimiter | ||
-a, --array-indexes-as-keys Includes array indexes in the generated keys | ||
-S, --check-schema Check for schema differences | ||
-f, --field <delimiter> Field delimiter | ||
-w, --wrap <delimiter> Wrap delimiter | ||
-e, --eol <delimiter> End of Line delimiter | ||
-E, --empty-field-value <value> Empty field value | ||
-n, --expand-nested-objects Expand nested objects to be deep converted to CSV | ||
-k, --keys [keys] Keys of documents to convert to CSV | ||
-d, --escape-header-nested-dots Escape header nested dots | ||
-b, --excel-bom Excel Byte Order Mark character prepended to CSV | ||
-x, --exclude-keys [keys] Comma separated list of keys to exclude | ||
-A, --expand-array-objects Expand array objects | ||
-W, --without-header Withhold the prepended header | ||
-p, --prevent-csv-injection Prevent CSV Injection | ||
-s, --sort-header Sort the header fields | ||
-F, --trim-fields Trim field values | ||
-H, --trim-header Trim header fields | ||
-F, --trim-fields Trim field values | ||
-S, --check-schema Check for schema differences | ||
-E, --empty-field-value <value> Empty field value | ||
-A, --expand-array-objects Expand array objects | ||
-k, --keys [keys] Keys of documents to convert to CSV | ||
-h, --help output usage information | ||
-U, --unwind-arrays Unwind array values to their own CSV line | ||
-I, --iso-date-format Use ISO 8601 date format | ||
-L, --locale-format Use locale format for values | ||
-B, --wrap-booleans Wrap booleans | ||
-h, --help display help for command | ||
``` | ||
@@ -266,14 +278,18 @@ | ||
Arguments: | ||
csvFile CSV file to convert | ||
Options: | ||
-V, --version output the version number | ||
-c, --csv <csv> Path of json file to be converted | ||
-o, --output [output] Path of output file. If not provided, then stdout will be used | ||
-f, --field <delimiter> Optional field delimiter | ||
-w, --wrap <delimiter> Optional wrap delimiter | ||
-e, --eol <delimiter> Optional end of line delimiter | ||
-b, --excel-bom Excel Byte Order Mark character prepended to CSV | ||
-H, --trim-header Trim header fields | ||
-F, --trim-fields Trim field values | ||
-k, --keys [keys] Keys of documents to convert to CSV | ||
-h, --help output usage information | ||
-V, --version output the version number | ||
-o, --output [output] Path of output file. If not provided, then stdout will be used | ||
-f, --field <delimiter> Field delimiter | ||
-w, --wrap <delimiter> Wrap delimiter | ||
-e, --eol <delimiter> End of Line delimiter | ||
-b, --excel-bom Excel Byte Order Mark character prepended to CSV | ||
-p, --prevent-csv-injection Prevent CSV Injection | ||
-F, --trim-fields Trim field values | ||
-H, --trim-header Trim header fields | ||
-h, --header-fields Specify the fields names in place a header line in the CSV itself | ||
-k, --keys [keys] Keys of documents to convert to CSV | ||
--help display help for command | ||
``` | ||
@@ -280,0 +296,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79250
324
1365