Below is the API for the OCaml standard library. It's directly copied over from the OCaml Manual, formatted to the Reason syntax and styled accordingly. The API docs are work-in-progress; we'll be polishing these gradually!
If you're targeting JavaScript, the API docs for BuckleScript includes all of below, plus JS-specific APIs.
sig type data type t val create : int -> Weak.S.t val clear : Weak.S.t -> unit val merge : Weak.S.t -> Weak.S.data -> Weak.S.data val add : Weak.S.t -> Weak.S.data -> unit val remove : Weak.S.t -> Weak.S.data -> unit val find : Weak.S.t -> Weak.S.data -> Weak.S.data val find_all : Weak.S.t -> Weak.S.data -> Weak.S.data list val mem : Weak.S.t -> Weak.S.data -> bool val iter : (Weak.S.data -> unit) -> Weak.S.t -> unit val fold : (Weak.S.data -> 'a -> 'a) -> Weak.S.t -> 'a -> 'a val count : Weak.S.t -> int val stats : Weak.S.t -> int * int * int * int * int * int end