crawfishcloud
Version:
A Streaming S3 Bucket Glob Crawler
9 lines (8 loc) • 450 B
TypeScript
import type * as k from './types';
import { Readable } from 'stream';
import vfile from 'vfile';
import Vinyl from 'vinyl';
export declare const drainReadable: (init: string, r: Readable, tail: string) => Promise<string>;
export declare const asS3: (o: k.S3Item, i: number) => Promise<k.S3Item>;
export declare const asVfile: (o: k.S3Item, i: number) => Promise<vfile.VFile>;
export declare const asVinyl: (o: k.S3Item, i: number) => Promise<Vinyl>;