Skip to content

TypeScript implementation of Least Recently Used.

Notifications You must be signed in to change notification settings

JustinSutu/ylru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published