Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
(unmaintained, deprecated, abandoned) node-plan plugin for uploading files to s3
JavaScript
Tag: 0.1.4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

See node-plan.

See also node-plan-s3-download.

input

  • tempPath - the local file to upload to s3

output

none

options

  • s3Key
  • s3Secret
  • s3Bucket
  • url - string file path destination. These interpolations are available:
    • {ext} - the extension of tempPath from the input. includes the '.'.
    • {uuid} - a newly generated UUID string. looks something like this: 064c06bf-84e8-4a54-b0d2-d7acdefe20d2
    • {brace} - a literal '{'
  • secure - boolean, whether to use SSL. Note that you cannot use SSL if your bucket contains a period. Defaults to false.

exports

  • bucket - copied directly from options
  • url - rendered url after applying interpolations

Testing

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

Something went wrong with that request. Please try again.