js_of_ocaml
6.5#7 in code transpilersFree planFree planWebAPILinux
Visit| Fact | js_of_ocaml | JSweet |
|---|---|---|
| JavaScript interoperability | The library provides a typed interface for bridging OCaml and JavaScript values, with PPX syntax for JavaScript properties, methods, constructors, and objects. | Generated output is ordinary JavaScript intended to interoperate directly with JavaScript code and libraries. |
| License | The repository lists GPL-2.0-or-later and LGPL-2.1-or-later with the OCaml linking exception as its licenses. | The repository links to a license file but the opened page does not state the license name in its displayed README text. |
It suits OCaml developers who want to target JavaScript environments while using browser bindings and typed OCaml-to-JavaScript interoperability.
JSweet is aimed at Java developers building web or mobile HTML5 applications with JavaScript libraries and frameworks. It may also suit teams that want to use Java code with browser or Node.js targets.