@storagestack/webnative-provider

Fission webnative - implementation as a storage provider for storage stack

Usage no npm install needed!

<script type="module">
  import storagestackWebnativeProvider from 'https://cdn.skypack.dev/@storagestack/webnative-provider';
</script>

README

Webnative provider

This is the implementation for the Webnative (WNFS) provider, so if you want to save files to ipfs you can do that with this package.

More info about Webnative on fission's website.

Provider

A provider is an abstract definition of a storage mechanism. Every provider can set, get and delete content.

You can register a provider on the application object of storagestack.

ss.registerProvider(new WebNativeProvider());

Or when you want to use a pattern ...

ss.registerProvider(new WebNativeProvider(), '*-index.json');

Take a look in the core library to the provider interface.