Like most OCaml libraries, Irmin can be used in the browser by compiling your program with js_of_ocaml.
My `irmin-js` experiment provides a Javascript API to Irmin, so you can write your application in Javascript too, rather than OCaml. My JS isn't very good though; here's what my example code ended up looking like:
https://github.com/talex5/irmin-js/blob/master/examples/test...