Skip to content

Commit

Permalink
docs: typo in transforms destructure, closes #448
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya authored Mar 25, 2020
1 parent 2fec274 commit 6c9b2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ const csv = json2csvParser.parse(myData);
should be replaced by
```js
const { Parser, transform: { unwind, flatten } } = require('json2csv');
const { Parser, transforms: { unwind, flatten } } = require('json2csv');
const json2csvParser = new Parser({ transforms: [unwind(paths, true), flatten('__')] });
const csv = json2csvParser.parse(myData);
```
Expand Down

0 comments on commit 6c9b2c7

Please sign in to comment.