Skip to content
JustinSutuPublic

About

TypeScript implementation of Least Recently Used.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub TypeScript LRU Cache

Implemented a TypeScript version of LRU (Least Recently Used) cache.

Overview

An LRU (Least Recently Used) cache provides a simple key-value storage mechanism suitable for maintaining a cache of limited size, removing the least recently used items when the cache reaches its maximum capacity.

Features

LRU Replacement Policy: Automatically removes the least recently used items when the cache reaches its maximum size. Simple API: Offers get, set methods for easy interaction. Typed in TypeScript: Written in TypeScript, providing type safety and clear interfaces.

Installation

To use this LRU cache in your TypeScript project, install it via npm:

Usage

Contributing

If you find any issues with the LRU cache or have suggestions for improvement, feel free to open an issue or create a pull request. Contributions are welcome!

License

This project is licensed under the MIT License.

README

About

TypeScript implementation of Least Recently Used.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages