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 val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> ?docs:Docstrings.docs -> Parsetree.class_type_field_desc -> Parsetree.class_type_field val attr : Parsetree.class_type_field -> Parsetree.attribute -> Parsetree.class_type_field val inherit_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.class_type -> Parsetree.class_type_field val val_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> string -> Asttypes.mutable_flag -> Asttypes.virtual_flag -> Parsetree.core_type -> Parsetree.class_type_field val method_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> string -> Asttypes.private_flag -> Asttypes.virtual_flag -> Parsetree.core_type -> Parsetree.class_type_field val constraint_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.core_type -> Parsetree.core_type -> Parsetree.class_type_field val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.extension -> Parsetree.class_type_field val attribute : ?loc:Ast_helper.loc -> Parsetree.attribute -> Parsetree.class_type_field val text : Docstrings.text -> Parsetree.class_type_field list end