JSPM

butter-cache-provider

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q27237F
  • License GPL-3.0

A base class for Butter Cache Providers

Package Exports

  • butter-cache-provider

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 (butter-cache-provider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

This is a [[https://github.com/butterproject][Butter]] Cache Provider base class.

if you want to find more info on Butter Providers and Butter Cache Providers check the [[https://github.com/butterproject/butter-provider][Butter Provider Docs]].

  • CacheProvider.prototype.fetchFromDB
    takes the same arguments as Butter Provider's fetch()

  • CacheProvider.prototype.updateFetch gets called with the results from a Butter Provider's fetch()

  • CacheProvider.prototype.detailFromDB takes the same arguments as Butter Provider's detail()

  • CacheProvider.prototype.updateDetail gets called with the results from a Butter Provider's detail()