Explore thousands of open-source OCaml packages with their documentation.
Opam: The OCaml Package Manager
Opam is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
New packages this month
Updates this week
Discover new and OCaml packages from featured community packages.
Most Used Packages
OCaml documentation generator
Used by 782 other packages
Promises and event-driven I/O
Used by 536 other packages
Alcotest is a lightweight and colourful test framework
Used by 487 other packages
Declarative definition of command line interfaces for OCaml
Used by 353 other packages
This is a transition package, ounit is now ounit2
Used by 306 other packages
3 days ago
Set OCaml to be compiled with address sanitizer
5 months ago
Set OCaml to be compiled with leak sanitizer
5 months ago
Role-based access control for OCaml
8 days ago
A non-parallel implementation of Domains compatible with OCaml 4
9 days ago
Efficient marshaling to and from bigarrays
Auto-generated low-level OCaml bindings for EverCrypt/HACL*
OCaml API for EverCrypt/HACL*
Xapi's standard library extension, Dates
Xapi's standard library extension, Encodings
Focus on Your Code, and Opam Takes Care of Distributing It.
Our users have the highest standards for the OCaml ecosystem to run mission-critical applications across a variety of operating systems, and they expect that a package that compiles today will still work a decade from now.
Before any package update, we run sandboxed matrix builds for boundaries of the dependencies and for each of the dependent packages. A package publication will never break the rest of the ecosystem.
State of the Art
Opam supports publishing multiple versions of packages simultaneously to specify the version constraints, so only compatible revisions are chosen for a build. It comes with a performant constraint solver, a flexible CLI, a well-specified metadata format, and an easy access to the package manager logic via OCaml libraries.
The Opam project and package repository is maintained by a team of developers who ensure that everything is not only running smoothly, but also curated to maintain a high degree of metadata quality. This makes it one of the most stable package repositories available today.