/clodexeddb

Clientside storage wrapper for ClojureScript

Primary LanguageClojure

clodexeddb

This is a wrapper around ydn-db to make clientside storage a little easier to do in ClojureScript. It is a polyfill that targets IndexedDB, WebSQL, LocalStorage, and UserData (for IE6) in that order.

WARNING: This is a wip that I mostly did for pldb-cache. I'm not sure how much time I can commit to this project, so it may not get finished unless there's demand for it. Any pull requests are welcome!

Installation

Add this dependency to your project.clj:

[com.greenyouse/clodexeddb "0.1.0"]

Usage

Most of the functions match 1-to-1 with ydn-db. Take a look at the source code for how to use each one.

License

Copyright © 2015 greenyouse

Distributed under the BSD 2-Clause License.