npm.io
0.1.6 • Published 2 years ago

@types/s3-download-stream

Licence
MIT
Version
0.1.6
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/s3-download-stream

Summary

This package contains type definitions for s3-download-stream (https://github.com/jb55/s3-download-stream).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/s3-download-stream.

index.d.ts

/// <reference types="node" />

import { S3 } from "aws-sdk2-types";
import { Readable } from "stream";

declare namespace s3Stream {
    interface S3StreamDownloaderOptions {
        client: S3;
        concurrency?: number | undefined;
        chunkSize?: string | undefined;
        params: S3.GetObjectRequest;
    }
}

declare function s3Stream(options: s3Stream.S3StreamDownloaderOptions): Readable;
export = s3Stream;

Additional Details

Credits

These definitions were written by Caleb Everett.