Skip to content

make-github-pseudonymous-again/idb-lru-cache

Repository files navigation

IndexedDB-based persisting LRU cache for the browser. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

const lru = cache<string, number>({
	dbName: 'cache-lru',
	maxCount: 10,
});

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

👩‍🏫 API reference

See docs.

About

IndexedDB-based persisting LRU cache for the browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •