cargo 0.0.1 copy "cargo: ^0.0.1" to clipboard
cargo: ^0.0.1 copied to clipboard

outdatedDart 1 only

A key value, storage library for dart

Cargo #

A small key value store for the server in analogy of html5 localstorage

Simple usage #

It has the same interface as of localstorage.

Just make an instance of Storage.

Storage storage = new Storage();

Add data to the storage.

storage.setItem("data", {"data": "data"});

Retrieve data from the storage.

var data = storage.getItem("data");

Todo's #

  • store json on disk.

Contributing #

If you found a bug, just create a new issue or even better fork and issue a pull request with you fix.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A key value, storage library for dart

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

logging

More

Packages that depend on cargo