JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q85589F
  • License ISC

Fission webnative - implementation as a storage provider for storage stack

Package Exports

  • @storagestack/webnative-provider
  • @storagestack/webnative-provider/dist/cjs/index.js
  • @storagestack/webnative-provider/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storagestack/webnative-provider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.