cache 0.0.4 copy "cache: ^0.0.4" to clipboard
cache: ^0.0.4 copied to clipboard

Dart 1 only

A simple library to use the browsers local storage to cache data.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cache

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

dependencies:
  cache: ^0.0.4

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

Import it

Now in your Dart code, you can use:

import 'package:cache/cache.dart';
0
likes
20
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

A simple library to use the browsers local storage to cache data.

Homepage

License

BSD-2-Clause (license)

Dependencies

browser

More

Packages that depend on cache