# upload2s3

> A robust S3 uploader, with expotential backoff and multipart support.

Latest version **1.1.0** (published 2014-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install upload2s3
pnpm add upload2s3
yarn add upload2s3
bun add upload2s3
```

## 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.1.0 |
| Published | 2014-07-16 |
| First published | 2014-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Dmitri Gaskin |
| Maintainers | dmitrig01 |
| Keywords | s3, aws, amazon, upload, buffer |

## Links

- npm: https://www.npmjs.com/package/upload2s3
- Repository: https://github.com/BranchMetrics/upload2s3
- Issues: https://github.com/BranchMetrics/upload2s3/issues
- npm.io page: https://npm.io/package/upload2s3

## Dependencies (2)

- [retry](https://npm.io/package/retry.md) ^0.6.1
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.4

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2014-07-16
- 1.0.0 — 2014-07-16

## README

# Upload2S3

A robust S3 uploader, with expotential backoff and multipart support.

## Usage

```javascript
var knox = require('knox'),
	s3upload = require('upload2s3');

var client = knox.createClient({
	key: '<key>',
	secret: '<secret>',
	bucket: '<bucket>'
});

var s3uploader = new s3upload(knox);

s3uploader.upload(new Buffer('MY FILE CONTENTS'), '/file.txt', { 'Content-Type': 'text/plain' }, function(err, res) {
	if (err) { throw err; }
	// File upload succeeded.
});
```

## Debug

```javascript
var s3uploader = new s3upload(knox, console.log);
// It will console.log helpful debug messages.
```

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