Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.05 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.05 KB

ocaml-url-js

ocmal binding to the _URL Javascript plugin using gen_js_api

What does ocaml-url do ?

binding to URI.js ussing gen_js_api.

This plugin allows you to create url inside your ocaml mobile app.

How to install and compile your project by using this plugin ?

You can use opam by pining the repository with:

opam pin add url_js https://github.com/besport/ocaml-url-js

to compile your project, use:
```Shell
dune build @install

Finally, install the "url_js" plugin with:

cordova plugin add url_js

How to use it?

The typing of this library is done with Js_of_ocaml types. You can learn more about it in the js_of_ocaml official documentation

Url_js.create_object_url

cf URL development documentation

[TODO]

Url_js.revoke_object_url

cf URL developement documentation

[TODO]