EdgeAIG's picture
download
raw
752 Bytes
import * as MP from "./index.js";
export type { MultipartError, PartInfo } from "./index.js";
export { decodeField } from "./index.js";
export type Part = Field | File;
export interface Field {
readonly _tag: "Field";
readonly info: MP.PartInfo;
readonly value: Uint8Array;
}
export interface File {
readonly _tag: "File";
readonly info: MP.PartInfo;
readonly readable: ReadableStream<Uint8Array>;
}
export interface MultipastaStream {
readonly writable: WritableStream<Uint8Array>;
readonly readable: ReadableStream<Part>;
}
export type WebConfig = Omit<MP.BaseConfig, "headers"> & {
readonly headers: Headers;
};
export declare const make: (config: WebConfig) => MultipastaStream;
//# sourceMappingURL=web.d.ts.map

Xet Storage Details

Size:
752 Bytes
·
Xet hash:
b2e357388952f19eb89173163ab1324cab8e564c7800febfc81445585e74fff0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.