UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

13 lines 522 B
/** * @typedef {object} Context * @property {import('ipfs-repo').IPFSRepo} repo * @property {import('../types').Preload} preload * * @param {Context} context */ export function createCat({ repo, preload }: Context): (ipfsPath: import("ipfs-core-types/src/utils.js").IPFSPath, options?: import("ipfs-core-types/src/root").CatOptions | undefined) => AsyncIterable<Uint8Array>; export type Context = { repo: import('ipfs-repo').IPFSRepo; preload: import('../types').Preload; }; //# sourceMappingURL=cat.d.ts.map