OCaml JavaScript

Open-source OCaml projects categorized as JavaScript

Top 4 OCaml JavaScript Projects

  1. semgrep

    Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

    Project mention: SAST vs SCA: Choosing the Right Source Code Security Scanning Tools | dev.to | 2025-04-17

    Use Semgrep (SAST) to scan any code developed by you and your team. Semgrep’s Community Edition is open-source and remains a free SAST solution that is accessible to small teams. A subscription is necessary for larger code bases with many contributors and enterprise-grade security needs.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. reason

    Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems

    Project mention: A 10x Faster TypeScript | news.ycombinator.com | 2025-03-11

    OCaml and Haskell already have that nice type system (and even more nice). If OCaml's syntax bothers you, there is Reason [1] which is a different frontend to the same compiler suite.

    Also in this space is Gleam [2] which targets Erlang / OTP, if high concurrency and fault tolerance is your cup of tea.

    [1]: https://reasonml.github.io/

    [2]: https://gleam.run/

  4. comby

    A code rewrite tool for structural search and replace that supports ~every language.

  5. js_of_ocaml

    Compiler from OCaml to Javascript.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

OCaml JavaScript discussion

Log in or Post with

OCaml JavaScript related posts

  • OCaml Syntax Sucks

    5 projects | news.ycombinator.com | 24 Nov 2024
  • Comparing OCaml and Standard ML (2020)

    1 project | news.ycombinator.com | 17 Jun 2024
  • ReScript: Fast, Simple Typed JavaScript from the Future

    1 project | news.ycombinator.com | 28 May 2024
  • ReScript has come a long way, maybe it's time to switch from TypeScript?

    4 projects | dev.to | 28 May 2024
  • Melange for React devs book, alpha release

    2 projects | news.ycombinator.com | 27 Feb 2024
  • ReScript: Rust like features for JavaScript

    2 projects | dev.to | 18 Jan 2024
  • Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?

    5 projects | news.ycombinator.com | 24 Dec 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source JavaScript projects in OCaml? This list will help you:

# Project Stars
1 semgrep 11,868
2 reason 10,248
3 comby 2,497
4 js_of_ocaml 1,022

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that OCaml is
the 41st most popular programming language
based on number of references?