UNPKG

@helia/verified-fetch

Version:

A fetch-like API for obtaining verified & trustless IPFS content on the web

14 lines 481 B
import { BasePlugin } from './plugin-base.js'; import type { PluginContext } from '../index.js'; /** * Handles UnixFS content */ export declare class UnixFSPlugin extends BasePlugin { readonly id = "unixfs-plugin"; readonly codes: number[]; canHandle({ terminalElement, accept }: PluginContext): boolean; handle(context: PluginContext): Promise<Response>; private streamFile; private detectContentType; } //# sourceMappingURL=plugin-handle-unixfs.d.ts.map