UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

12 lines 524 B
/** * @typedef {import('ipfs-core-types/src/swarm').PeersResult} PeersResult */ /** * @param {object} config * @param {import('../../types').NetworkService} config.network */ export function createPeers({ network }: { network: import('../../types').NetworkService; }): (options?: import("ipfs-core-types/src/swarm").PeersOptions | undefined) => Promise<import("ipfs-core-types/src/swarm").PeersResult[]>; export type PeersResult = import('ipfs-core-types/src/swarm').PeersResult; //# sourceMappingURL=peers.d.ts.map