lru_memory_cache 1.0.3 copy "lru_memory_cache: ^1.0.3" to clipboard
lru_memory_cache: ^1.0.3 copied to clipboard

LRUMemoryCache is a Dart library for in-memory LRU caching with expiration support. Cache key-value pairs, managing eviction of least recently used items upon reaching capacity.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lru_memory_cache

With Flutter:

 $ flutter pub add lru_memory_cache

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  lru_memory_cache: ^1.0.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lru_memory_cache/lru_memory_cache.dart';
3
likes
140
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

LRUMemoryCache is a Dart library for in-memory LRU caching with expiration support. Cache key-value pairs, managing eviction of least recently used items upon reaching capacity.

Documentation

API reference

License

MIT (license)

More

Packages that depend on lru_memory_cache