ocsigen/js_of_ocaml
Compiler from OCaml to Javascript. observed · 2026-09-01
Health v2 · maintenance only
97/100
- Activity 100
- Release rhythm 91
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 9
- age_days: 4783
- days_rel: 63
- days_push: 4
- n_releases_24m: 12
Adoption not part of the score
1130 stars · 202 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Js_of_ocaml is a compiler that translates OCaml bytecode to JavaScript, allowing pure OCaml programs to run in browsers and Node.js. It works with existing OCaml installations without recompiling libraries and includes bindings for most browser APIs.
Use cases
- run ocaml programs in the browser
- compile ocaml to javascript
- build web apps in ocaml
- run ocaml code on node.js
- use ocaml libraries in a javascript environment
- compile ocaml to webassembly
When to choose
- you have existing OCaml code or libraries you want to run in the browser without recompilation
- you want to write frontend web applications in OCaml with bindings for browser APIs
- you need faster execution than the OCaml bytecode interpreter in a JS environment
- you want to target modern JavaScript engines or WebAssembly from OCaml
When to avoid
- you need to target very old JavaScript engines without transpilation
- your project is not written in OCaml and you want a general-purpose JS toolchain
- you need deep integration with the JavaScript ecosystem's npm tooling rather than compiling from OCaml
Facets
cli-tool · maturity active
compiler programming-language wasm compilers programming-languages web-development frontend browser cross-platform ocaml javascript ocaml-to-javascript bytecode-compiler ocsigen wasm transpiler compiler nodejs web-server
2 sources
- readme: https://github.com/ocsigen/js_of_ocaml · fetched 2026-09-01 · f8264255304d
- homepage: http://ocsigen.org/js_of_ocaml/ · fetched 2026-08-29 · c9d659cb806f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ocsigen/js_of_ocaml | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="ocsigen/js_of_ocaml")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem