lib/images.js
/**
 * Generate set of cache files cache for specified image and saves to <cacheFolder>
 *
 * @returns Promise
 */
Generate set of cache files cache for specified image and saves to 
@returns Promise
Generate set of cache files cache for specified image and saves to @returns Promise
function generateCache(src, cacheFolder) {
  let ret = [];
  for (var i=1; i<=15; i++) {
    ret.push( generateCacheFile(i, src, cacheFolder));
  }
  return Promise.all(ret)
}
function generateCache ( src , cacheFolder ) { let ret = [ ] ; for ( var i = 1 ; i <= 15 ; i ++ ) { ret . push ( generateCacheFile ( i , src , cacheFolder ) ) ; } return Promise . all ( ret ) }
Generate set of cache files cache for specified image and saves to <cacheFolder>
 @returns Promise
Generate set of cache files cache for specified image and saves to <cacheFolder > @returns Promise