js-ipfs-http-client-lite
js-ipfs-http-client-lite copied to clipboard
An alternative client library for the IPFS HTTP API, aiming to be as lightweight as possible (<20kB) in the browser.
expected: same api as js-ipfs ```js import * as IPFS from 'ipfs-http-client-lite'; //const ipfs = new IPFS({ /* options */ }); // TypeError: IPFS is not a constructor //const ipfs...
Would be nice to have type definitions for this awesome library :D
Hi @alanshaw - I'm trying to get a better sense of what it would take to add dag.get and dag.put methods to this lite client. I'm looking at the [`js-ipfs-http-client`...
Some notes hanging around on my desktop: ## Benefits * Tiny bundle size * Import just the part you want to use: * `const add = require('ipfs-http-client-lite/src/add')(); await add(...)` *...