title: Create a animated Gif from an array of url images in NodeJs
body: <p>I have an array of urls of image which could be of different type (png, jpg) and I would like with it to build a gif, all in nodeJS.</p>
  
  <p>Since I'm very new to this language I'm struggling a bit with it, any leads, ideas ?</p>
  
  <p>I looked at <a href="https://github.com/eugeneware/gifencoder" rel="nofollow noreferrer">gifencoder</a>
  with this exemple :</p>
  
  <pre><code>var GIFEncoder = require('gifencoder');
  var encoder = new GIFEncoder(854, 480);
  var pngFileStream = require('png-file-stream');
  var fs = require('fs');
  pngFileStream('test/**/frame?.png')
   .pipe(encoder.createWriteStream({ repeat: -1, delay: 500, quality: 10 }))
   .pipe(fs.createWriteStream('myanimated.gif'));
  </code></pre>
  
  <p>What I get, it looks for png files maching the expression. 
  Since I have an array of urls of different types of images, should I use fs.createReadStream ? </p>
  
  <p>Thanks</p>