-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream support #9
Labels
Comments
@papswell Any ideas for this issue? =) |
@kauegimenes i can try as soon as possible, but for now i can't afford to spend more time on it :s |
@papswell What you think about this implementation? https://github.com/kauegimenes/jsonexport/tree/v2.0.0 |
Merged
var jsonexport = require('jsonexport');
var fs = require('fs');
var reader = fs.createReadStream('data.json');
var writer = fs.createWriteStream('out.csv');
reader.pipe(jsonexport()).pipe(writer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This module needs to implement streaming to support huge CSVs, currently its using memory to save the csv output https://github.com/kauegimenes/jsonexport/blob/master/lib/index.js#L109
The text was updated successfully, but these errors were encountered: