@wireapp/lru-cache
v3.8.1
Published
Least Recently Used (LRU) Cache for JavaScript and TypeScript.
Maintainers
Keywords
Readme
Wire
This repository is part of the source code of Wire. You can find more information at wire.com or by contacting [email protected].
You can find the published source code at github.com/wireapp.
For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.
LRUCache
Installation
yarn add @wireapp/lru-cacheUsage
import {LRUCache} from '@wireapp/lru-cache';
const cache = new LRUCache();
cache.set('Key', 'Value');