UNPKG

simple-on-disk-cache

Version:

A simple on-disk cache, supporting local and remote filesystem targets, with time based expiration policies.

6 lines (5 loc) 156 B
import { S3 } from 'aws-sdk'; export declare const getObject: ({ bucket, key, }: { bucket: string; key: string; }) => Promise<S3.Body | undefined>;