Skip to content

jrnewton/url-to-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Basic Example

Loop Example - creates S3 client first for reuse in a loop.

Releases

No releases published

Packages

No packages published