gramene-client-cache

1.0.0 • Public • Published

Gramene client cache

Browser-only cache intended to reduce the amount of queries that gramoogle makes to gramene-search-client. It wraps lru-cache and json-stable-stringify.

Uses

Keys are deterministically serialized to JSON; the expected use case is that you pass in some object representing some query state and you get a cached response or undefined.

Readme

Keywords

none

Package Sidebar

Install

npm i gramene-client-cache

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ajo2995
  • mycrobe
  • warelab