UNPKG

express-sharp

Version:

Real-time image processing for your express application

11 lines (10 loc) 351 B
/// <reference types="node" /> import { S3 } from 'aws-sdk'; import { ImageAdapter } from '../interfaces'; export declare class S3Adapter implements ImageAdapter { readonly bucketName: string; private readonly s3client; private log; constructor(bucketName: string, s3client?: S3); fetch(id: string): Promise<Buffer | undefined>; }