ipfs-http-client
Version:
A client library for the IPFS HTTP API
15 lines (13 loc) • 361 B
JavaScript
import { createStat as createBitswap } from '../bitswap/stat.js'
import { createStat as createRepo } from '../repo/stat.js'
import { createBw } from './bw.js'
/**
* @param {import('../types').Options} config
*/
export function createStats (config) {
return {
bitswap: createBitswap(config),
repo: createRepo(config),
bw: createBw(config)
}
}