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

A simple and lightweight key-value store that saves data as JSON files. Supports fast and ordered file I/O using Isolate-based parallel processing.

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.close();
}
5
likes
160
points
107
downloads

Publisher

verified publisherzuvola.com

Weekly Downloads

A simple and lightweight key-value store that saves data as JSON files. Supports fast and ordered file I/O using Isolate-based parallel processing.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

isoworker, meta, web

More

Packages that depend on tiny_storage