# @types/s3-upload-stream

> TypeScript definitions for s3-upload-stream

Latest version **1.0.8** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/s3-upload-stream
pnpm add @types/s3-upload-stream
yarn add @types/s3-upload-stream
bun add @types/s3-upload-stream
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2025-10-24 |
| First published | 2016-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/s3-upload-stream
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-upload-stream
- npm.io page: https://npm.io/package/@types/s3-upload-stream

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) *
- [@types/aws-sdk2-types](https://npm.io/package/@types/aws-sdk2-types.md) *

## Recent versions

- 1.0.8 (latest) — 2025-10-24
- 1.0.7 (ts5.1) — 2023-11-07
- 1.0.4 (ts4.2) — 2023-01-30
- 1.0.3 (ts3.9) — 2022-04-19
- 1.0.2 (ts3.5) — 2017-10-25
- 1.0.6 — 2023-10-18
- 1.0.5 — 2023-09-25
- 1.0.1 — 2017-09-01
- 1.0.0 — 2017-04-18
- 0.0.2 — 2017-04-17
- 0.0.1 — 2016-09-20

## README

# Installation
> `npm install --save @types/s3-upload-stream`

# Summary
This package contains type definitions for s3-upload-stream (https://github.com/nathanpeck/s3-upload-stream).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-upload-stream.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-upload-stream/index.d.ts)
````ts
/// <reference types="node" />

import * as AWS from "aws-sdk2-types";
import stream = require("stream");

declare namespace s3Stream {
    interface S3StreamUploader {
        upload(destinationDetails: AWS.S3.PutObjectRequest, sessionDetails?: any): S3WriteStream;
    }

    interface S3WriteStream extends stream.Writable {
        maxPartSize(sizeInBytes: number): void;
        concurrentParts(numberOfParts: number): void;
    }
}

declare function s3Stream(client: AWS.S3): s3Stream.S3StreamUploader;
export = s3Stream;

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/aws-sdk2-types](https://npmjs.com/package/@types/aws-sdk2-types), [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Joshua DeVinney](https://github.com/geoffreak).

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