darto_cache 1.0.0 copy "darto_cache: ^1.0.0" to clipboard
darto_cache: ^1.0.0 copied to clipboard

Cache primitives for Darto — a tiny Cache interface with a zero-dep MemoryCache (LRU + TTL) and a RedisCache adapter for shared/distributed caching.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add darto_cache

With Flutter:

 $ flutter pub add darto_cache

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

dependencies:
  darto_cache: ^1.0.0

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:darto_cache/darto_cache.dart';
0
likes
150
points
44
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cache primitives for Darto — a tiny Cache interface with a zero-dep MemoryCache (LRU + TTL) and a RedisCache adapter for shared/distributed caching.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

redis

More

Packages that depend on darto_cache