JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q60460F
  • License MIT

If you already have a big list of urls of files that you want to download but you don't know how, this is your module.

Package Exports

  • pizza-guy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pizza-guy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pizza-guy

Travis Codecov NPM Downloads Total Commitizen Friendly Semantic Released

If you already have a big list of urls of files that you want to download but you don't know how, this is your module.

The idea is to support really big lists of files that would be insane to download simultaneusly since Node would break for this kind of cases.

How to use

const pizzaGuy = require('pizza-guy');

const images = [
  'http://some.domain.com/file0.jpg',
  'https://some.domain.com/file1.gif',
  'https://some.domain.com/file2.png'
];

pizzaGuy
  .deliver(images)
  .onAddress('./some-path')
  .onSuccess((filename) => {
    console.log(`${filename} succeed!`);
  })
  .onError((filename) => {
    console.log(`${filename} failed`);
  })
  .start();

STABLE!

Or that is what it seems to be. Please report an issue if you find out that this is not true.