ipfs-http-client
Version:
A client library for the IPFS HTTP API
18 lines • 563 B
JavaScript
import { createData } from './data.js';
import { createGet } from './get.js';
import { createLinks } from './links.js';
import { createNew } from './new.js';
import { createPut } from './put.js';
import { createStat } from './stat.js';
import { createPatch } from './patch/index.js';
export function createObject(codecs, config) {
return {
data: createData(config),
get: createGet(config),
links: createLinks(config),
new: createNew(config),
put: createPut(codecs, config),
stat: createStat(config),
patch: createPatch(config)
};
}