@@ -34,10 +34,8 @@ var converter = require('json-2-csv');
3434 * ` FIELD ` - String - Field Delimiter. Default: ` ',' `
3535 * ` ARRAY ` - String - Array Value Delimiter. Default: ` ';' `
3636 * ` WRAP ` - String - Wrap values in the delimiter of choice (e.g. wrap values in quotes). Default: ` '' `
37- * ` CHECK_SCHEMA_DIFFERENCES ` - Boolean - Should we require all documents to have the same schema? Default: ` true `
37+ * ` EOL ` - String - End of Line Delimiter. Default: ` '\n' `
3838 * ` PREPEND_HEADER ` - Boolean - Should the auto-generated header be prepended as the first line in the CSV? Default: ` true `
39- * ` SORT_HEADER ` - Boolean - Should the auto-generated header be sorted? Default: ` false `
40- * ` EOL ` - String - End of Line Delimiter. Default: ` '\n' `
4139 * ` KEYS ` - Array - Specify the keys (as strings) that should be converted. Default: ` null `
4240 * If you have a nested object (ie. {info : {name: 'Mike'}}), then set options.KEYS to [ 'info.name']
4341 * If you want all keys to be converted, then specify ``` null ``` or don't specify the option to utilize the default.
@@ -93,7 +91,7 @@ BMW,X5,2014,3287,M
9391 * ` FIELD ` - String - Field Delimiter. Default: ` ',' `
9492 * ` ARRAY ` - String - Array Value Delimiter. Default: ` ';' `
9593 * ` WRAP ` - String - The character that field values are wrapped in. Default: ` '' `
96- * ` EOL ` - String - End of Line Delimiter. Default: ` '\n' `
94+ * ` EOL ` - String - End of Line Delimiter. Default: ` '\n' `
9795 * ` PARSE_CSV_NUMBERS ` - Boolean - (TODO) Should numbers that are found in the CSV be converted to numbers? Default: ` false `
9896 * ` KEYS ` - Array - Specify the keys (as strings) that should be converted. Default: ` null `
9997 * If you have a nested object (ie. {info : {name: 'Mike'}}), then set options.KEYS to [ 'info.name']
0 commit comments