UNPKG

@wireapp/lru-cache

Version:

Least Recently Used (LRU) Cache for JavaScript and TypeScript.

26 lines (14 loc) 610 B
# Wire This repository is part of the source code of Wire. You can find more information at [wire.com](https://wire.com) or by contacting opensource@wire.com. You can find the published source code at [github.com/wireapp](https://github.com/wireapp). For licensing information, see the attached LICENSE file and the list of third-party licenses at [wire.com/legal/licenses/](https://wire.com/legal/licenses/). ## LRUCache ### Installation ```bash yarn add @wireapp/lru-cache ``` ### Usage **Browser** - [demo.html](./src/demo/demo.html) **Node.js** - [LRUCacheSpec.js](./test/specs/LRUCacheSpec.js)