juanjoDiaz / json2csv

Flexible conversion between JSON and CSV
https://juanjodiaz.github.io/json2csv/
MIT License
296 stars 32 forks source link

Please check the Installation instructions #10

Closed paladyne-io closed 1 year ago

paladyne-io commented 1 year ago

I think the installation instructions on https://juanjodiaz.github.io/json2csv/#/quick-start are not correct. For Parser it says to install '--save @json2csv/parsers' but the Usage example shows 'import { Parser } from '@json2csv/plainjs';' Also 'npm install --save @json2csv/parsers' fails for me. However, installing and using import { Parser } from '@json2csv/plainjs' works.(A Minor point but I also read that --save is not necessary since npm 5 was released in 2017, https://stackoverflow.com/questions/19578796/what-is-the-save-option-for-npm-install)

juanjoDiaz commented 1 year ago

Indeed! Thanks for letting me know. I'll fix it asap!