s3-transload
A module that pipe network file into AWS S3. Recommended to use with node 6+, as it is using some ES6 feature.
What this module do?
- GET a file from the provide url and stream to S3
Example
const AWS = ;const s3Transload = ; // setup S3 credentialvar credentials = profile: 'your-profile';AWSconfigcredentials = credentials; const s3 = apiVersion: "2006-03-01"; const urlToS3 = ;const util = ;const urlToS3Promise = util; ;