title: Best way of concatenating or merging files in node.js
body: <p>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.</p>
  
  <p>I have some different approaches:</p>
  
  <ul>
  <li>Use grunt and grunt and <a href="https://www.npmjs.com/package/grunt-contrib-concat" rel="nofollow">https://www.npmjs.com/package/grunt-contrib-concat</a> </li>
  <li>Use a simple npm like buldify <a href="https://github.com/powmedia/buildify" rel="nofollow">https://github.com/powmedia/buildify</a> </li>
  <li>Do it from scratch with the fs node.js module</li>
  </ul>
  
  <p>I wonder if you could throw me some of your experience here and also this question could be useful for someone in the future.</p>
  
  <p>Cheers!</p>