ipfs-http-client
Version:
A client library for the IPFS HTTP API
10 lines • 308 B
JavaScript
import { createStat as createBitswap } from '../bitswap/stat.js';
import { createStat as createRepo } from '../repo/stat.js';
import { createBw } from './bw.js';
export function createStats(config) {
return {
bitswap: createBitswap(config),
repo: createRepo(config),
bw: createBw(config)
};
}