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

IndexedDB-based persisting LRU cache for the browser

Home Page:https://make-github-pseudonymous-again.github.io/idb-lru-cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://make-github-pseudonymous-again.github.io/idb-lru-cache

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 87.2%Language:Shell 7.2%Language:JavaScript 5.6%