Looking for Js_of_ocaml IndexedDB bindings

Are there any published bindings to IndexedDB for js_of_ocaml ? All could find is @talex5’s specialized bindings here.

If you’re prepared to use gen_js_api then I have a ‘hacked’ set of bindings, which may serve as a starting point.

1 Like

Thanks but my usage is likely to be to store blobs, so I think I might hack something quickly over the jsoo FFI, rather than add a new dep in the project.

In case this helps, I have made some effort to render @talex5’s bindings reusable here. I moved on to other things and haven’t revisited them since, but they may serve as a starting point.

2 Likes