1.4.0 • Published 6 years ago

@source4society/scepter-aws-s3-utilities v1.4.0

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
6 years ago

scepter-aws-utilities

Useful utilities for common AWS S3 situations

scepter-logo

airbnb-codestyle

Build Status

codecov

Usage

sendRequestToS3

Accepts the following:

requestHandler    // Something like whatwyg-fetch to handle the request
file,             // The file to upload, typically the data you would send in the form POST request body
signedUrl,        // An S3 signed url for 'putObject' 
contentType,      // The content type header
injectedHeaders,  // Optional additional headers to inject or override defaults
injectedOption    // Optional additional parameters to inject or override defaults