ipfs-svelte-component

0.0.7 • Public • Published

IPFS-Svelte-Component

An experimental Svelte Wrapper for IPFS to easily use it in other apps.

Hacks

Bundling IPFS with Rollup is a bit fickle. Kept getting blocked on

implementation = node(options) || browser (options)

...which wants cluster to be present. No matter how I tried to null out cluster, it still was a problem.

So I had to cut-and-paste the build from Gozala's replciator in order to bundle it into the component. This means it needs to be manually updated to bump versions. Not ideal, but it works in the browser.

Use

In a svelte app:

// TODO
npm run build

The rollup build is smaller (due to treeshaking I suspect)

Readme

Keywords

Package Sidebar

Install

npm i ipfs-svelte-component

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

19.5 MB

Total Files

12

Last publish

Collaborators

  • douganderson444