@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
13 lines • 496 B
TypeScript
import { BasePlugin } from './plugin-base.js';
import type { PluginContext } from '../index.js';
/**
* Accepts a UnixFS `CID` and returns a `.tar` file containing the file or
* directory structure referenced by the `CID`.
*/
export declare class TarPlugin extends BasePlugin {
readonly id = "tar-plugin";
readonly codes: never[];
canHandle({ accept }: PluginContext): boolean;
handle(context: PluginContext): Promise<Response>;
}
//# sourceMappingURL=plugin-handle-tar.d.ts.map