LibResilient plugins.
alt-fetchThis transport plugin uses standard fetch() to retrieve remote content from alternative endpoints — that is, HTTPS endpoints that are not in the original domain.
any-ofThe any-of composing plugin runs all plugins configured in its uses: configuration field simultaneously (using Promise.any()), and returns the firs successful response it receives.
basic-integrityThis plugin sets statically configured Subresource Integrity (SRI) hashes on requests performed by configured wrapped transport plugins.
cacheThe cache plugin uses the Cache API to save content in visitor’s browser for later use (when offline or when the website is down for whatever reason, for instance).
delayThis plugin wraps a plugin, and delays returning the response from it by configurable amount.
dnslink-fetchThis transport plugin uses standard fetch() to retrieve remote content from alternative endpoints — that is, HTTPS endpoints that are not in the original domain.
dnslink-ipfsThis transport plugin uses IPFS to fetch remote content using the IPFS CID retrieved via DNSLink for the original domain.
errorfetchThis transport plugin uses standard fetch() to retrieve remote content from the original domain — which is exactly what would have happened normally if LibResilient was not deployed on a website.
gun-ipfsThis plugin uses GunDB as a source of information on current IPFS CIDs of content, and retrieves that content using JS IPFS.
integrity-checkThis plugin implements Subresource Integrity (SRI) checking using the SubtleCrypto API.
ipns-ipfsThis is a stub of a plugin retrieving content using IPFS and IPNS.
redirectThis plugin redirects all requests, using a configured HTTP Status code and message, to URLs in a different domain.
signed-integrityThe signed-integrity plugin provides a way to retrieve authenticated integrity data for content fetched from untrusted sources (alternative endpoints, open proxies, etc).
test-pluginThis is a plugin used for testing things out.