Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@anchorchat/react-s3-uploader

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anchorchat/react-s3-uploader

React S3 uploader

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
4
Created
Source

react-s3-uploader

A React component that uploads files to a S3 Bucket.

Usage

Install from npm

$ npm i -S @anchorchat/react-s3-uploader

The ReactS3Uploader component accepts the following props:

NameTypeDescriptionRequiredDefault
signingUrlStringGet signed url used for uploading to s3Yes
signingUrlHeadersObjectOptional headers for the signingUrl requestNo{ }
uploadUrlHeadersObjectOptional headers for the upload requestNo{ }
preprocessFunctionDo something before uploadingNo(file, next) => next(file)
onFinishFunctionCallback fired when the uploading is finishedYes
onErrorFunctionCallback fired when an error occurs while uploadingYes

License

This project is licensed under the terms of the MIT license.

Keywords

react

FAQs

Package last updated on 06 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts