Skip to content

Commit 6fc33cc

Browse files
committed
Updating README
1 parent 5d88d0a commit 6fc33cc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ var converter = require('json-2-csv');
3535
* `ARRAY` - String - Array Value Delimiter. Default: `';'`
3636
* `WRAP` - String - Wrap values in the delimiter of choice (e.g. wrap values in quotes). Default: `null`
3737
* `EOL` - String - End of Line Delimiter. Default: `'\n'`
38-
* `PARSE_CSV_NUMBERS` - Boolean - Should numbers that are found in the CSV be converted to numbers? Default: `false`
38+
* `KEYS` - Array - Specify the keys (as strings) that should be converted. Default: `null`
39+
* If you have a nested object (ie. {info : {name: 'Mike'}}), then set options.KEYS to ['info.name']
40+
* If you want all keys to be converted, then specify ```null``` or don't specify the option to utilize the default.
3941

4042
##### json2csv Example:
4143

@@ -206,4 +208,4 @@ Joe,Freshman
206208

207209
## Milestones
208210
- Created: Apr 23, 2014
209-
- 1K Downloads/Month: January 15, 2015
211+
- 1K Downloads/Month: January 15, 2015

0 commit comments

Comments
 (0)