2.1.0 • Published 3 years ago
url-to-s3 v2.1.0
url-to-s3
Store the resource pointed to by a url in an S3 bucket.
const result = await urlToS3(
{ bucketName: 'xkcd-archive' },
'https://imgs.xkcd.com/comics/the_cloud.png'
);
Examples
Loop Example - creates S3 client first for reuse in a loop.