keyvalue

Simple dart key value store that supports caching and uses the file system as its backend storage. Uses json to serialize data.

Usage

A simple usage example:

  main() async {
    final KeyValueStore store = new KeyValueStore("data"); // Root storage path provided
  
    await store.set("foo", 3);
    await store.set("bar", {"test": 5});
  
    print("${await store.get("foo")}");

    await store.delete("foo");
    await store.delete("bar");
  }

Features and bugs

Feel free to open issues or pull requests for wanted features or bugs.

Libraries

keyvalue

Simple key value store library that supports memory caching and uses the file system as its backend storage