# tiny-s3-uploader

> A tiny S3 uploader which doesn't need the fat aws-sdk.

Latest version **1.3.2** (published 2022-03-13) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install tiny-s3-uploader
pnpm add tiny-s3-uploader
yarn add tiny-s3-uploader
bun add tiny-s3-uploader
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.2 |
| Published | 2022-03-13 |
| First published | 2019-05-31 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 30.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jake Gealer |
| Maintainers | jakemakesstuff |
| Keywords | s3 |

## Links

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

## Dependencies (1)

- [aws4](https://npm.io/package/aws4.md) 1.11.0

## Recent versions

- 1.3.2 (latest) — 2022-03-13
- 1.3.1 — 2022-03-13
- 1.3.0 — 2022-03-13
- 1.2.1 — 2022-02-17
- 1.2.0 — 2022-02-17
- 1.1.1 — 2022-02-17
- 1.1.0 — 2022-02-17
- 1.0.0 — 2019-05-31

## README

# tiny-s3-uploader
A tiny S3 uploader which doesn't need the fat aws-sdk.
```js
const { S3 } = require("tiny-s3-uploader")
const client = new S3(
    "s3.eu-west-2.amazonaws.com", // The AWS endpoint.
    "ACCESS_KEY_ID_HERE", // The AWS access key ID.
    "SECRET_ACCESS_KEY_HERE", // The AWS secret access key.
    "bucket.example.com", // The AWS bucket.
)

// In a async function...
await client.upload(
    "test.txt", // The key to the file.
    "public-read", // The ACL to the file.
    "binary/octet-stream", // The content type of the file.
    Buffer.from("Hello World!"), // The Buffer to send.
)
```

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