rem

remoteFileToS3

Stream a file from remote url and upload it to s3 bucket

Showing:

Popularity

Downloads/wk

1

GitHub Stars

0

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

2

Size (min+gzip)

228.9KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Remote url to s3

Stream a file from remote url and upload it to s3 bucket. Mostly required when scrapping stuff.

Installation

npm install remoteFileToS3 --save

Usage

var remoteFileToS3 = require('remoteFileToS3');

remoteFileToS3.config({
  bucket: 'your_s3bucket', 
  key: 'your_s3Key', 
  secret: 'your_s3Secret'
});

remoteFileToS3.downloadFromUrlAndUploadToS3('https://remote.com/filename.jpg', 'filename_in_s3.jpg', function (response) {
  console.log('Done uploading filename_in_s3.jpg');
});

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100