An open API service indexing awesome lists of open source software.

https://github.com/erkobridee/ts-lru-cache-ttl-impl

Least Recently Used (LRU) cache with Time-to-Live (TTL) support implemented in TypeScript
https://github.com/erkobridee/ts-lru-cache-ttl-impl

lru-cache ttl ttl-cache typescript

Last synced: 9 months ago
JSON representation

Least Recently Used (LRU) cache with Time-to-Live (TTL) support implemented in TypeScript

Awesome Lists containing this project

README

          

# ts-lru-cache-ttl-impl

Least Recently Used (LRU) cache with Time-to-Live (TTL) support [implemented in TypeScript](/src/lru-cache.ts)

## dev dependencies

```
npm i -D \
@types/jest \
@types/node \
esbuild \
typescript \
vitest
```

## References

- [LRU Cache Data Structure | Interview Cake](https://www.interviewcake.com/concept/java/lru-cache)

- [LRU Cache Implementation | enjoy algorithms](https://www.enjoyalgorithms.com/blog/implement-least-recently-used-cache)

- [Complete Tutorial on LRU Cache with Implementations | GeeksforGeeks](https://www.geeksforgeeks.org/lru-cache-implementation/)

- [LRU Cache | Redis](https://redis.io/glossary/lru-cache/)