So i've been searching for the best way of concatenate n (log) files in node.js The final file cannot be more than 100MB, if there is more, i should create an other one and so on.
I have some different approaches:
- Use grunt and grunt and https://www.npmjs.com/package/grunt-contrib-concat
- Use a simple npm like buldify https://github.com/powmedia/buildify
- Do it from scratch with the fs node.js module
I wonder if you could throw me some of your experience here and also this question could be useful for someone in the future.
Cheers!