tiny_storage 1.2.0 copy "tiny_storage: ^1.2.0" to clipboard
tiny_storage: ^1.2.0 copied to clipboard

This is a simple key-value store based on JSON file. Parallel processing of file I/O using `Isolate`.

example/main.dart

import 'package:tiny_storage/tiny_storage.dart';

void main() async {
  final storage = await TinyStorage.init('test.txt', path: './tmp');
  storage.set('key_1', 'value_1');
  storage.set('key_2', 2);
  storage.set('key_3', [1, 2, 3]);
  final ret = storage.get('key_1');
  print(ret);
  await storage.dispose();
}
5
likes
160
pub points
69%
popularity

Publisher

verified publisherzuvola.com

This is a simple key-value store based on JSON file. Parallel processing of file I/O using `Isolate`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

isoworker

More

Packages that depend on tiny_storage