plan-s3-download

plan plugin to download a file from s3

npm install plan-s3-download
10 downloads in the last week
20 downloads in the last month

See node-plan.

See also node-plan-s3-upload.

input

  • s3Url - s3 path to download
  • makeTemp - a function which generates a tempfile and accepts a suffix

output

  • tempPath - path to the temp file where the s3 file was saved

options

  • s3Key
  • s3Secret
  • s3Bucket

exports

  • bucket - copied directly from options

Testing

S3_KEY=<valid_s3_key> S3_SECRET=<valid_s3_secret> S3_BUCKET=<valid_s3_bucket> npm test

npm loves you