# @anchorchat/react-s3-uploader

> React S3 uploader

Latest version **1.0.2** (published 2017-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @anchorchat/react-s3-uploader
pnpm add @anchorchat/react-s3-uploader
yarn add @anchorchat/react-s3-uploader
bun add @anchorchat/react-s3-uploader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-07-06 |
| First published | 2017-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Sjaak Luthart |
| Maintainers | iancstewart, peterkuiper, sjaakluthart, larstadema |
| Keywords | react, s3, uploader |

## Links

- npm: https://www.npmjs.com/package/@anchorchat/react-s3-uploader
- Repository: https://github.com/anchorchat/react-s3-uploader
- Homepage: https://github.com/anchorchat/react-s3-uploader#readme
- Issues: https://github.com/anchorchat/react-s3-uploader/issues
- npm.io page: https://npm.io/package/@anchorchat/react-s3-uploader

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.16.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-07-06
- 1.0.1 — 2017-06-28
- 1.0.0 — 2017-06-28

## README

# react-s3-uploader

A React component that uploads files to a S3 Bucket.

## Usage

Install from npm

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

The `ReactS3Uploader` component accepts the following props:

| Name              | Type     | Description                                         | Required | Default                    |
| ----------------- | -------- | --------------------------------------------------- | -------- | -------------------------- |
| signingUrl        | String   | Get signed url used for uploading to s3             | Yes      |                            |
| signingUrlHeaders | Object   | Optional headers for the signingUrl request         | No       | { }                        |
| uploadUrlHeaders  | Object   | Optional headers for the upload request             | No       | { }                        |
| preprocess        | Function | Do something before uploading                       | No       | (file, next) => next(file) |
| onFinish          | Function | Callback fired when the uploading is finished       | Yes      |                            |
| onError           | Function | Callback fired when an error occurs while uploading | Yes      |                            |

## License

This project is licensed under the terms of the [MIT license](https://github.com/anchorchat/react-s3-uploader/blob/master/LICENSE).

---
_Source: https://npm.io/package/@anchorchat/react-s3-uploader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
