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
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.