package js_of_ocaml-compiler

  1. Overview
  2. Docs
Compiler from OCaml bytecode to JavaScript

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-4.0.0.tbz
sha256=df02f819e5b2f48234af2b3e3e7c9781afa8212f8bece7ebcfbd8358b394495e
sha512=92e822849c8be14ce0428f7f4be3991449f76e65d408073a5b8b9674ba2d099439027aa11618b603c7ee31a179cf6976d54a929917a69b269425f0367926c200

doc/js_of_ocaml-compiler.runtime/Jsoo_runtime/Sys/index.html

Module Jsoo_runtime.Sys

type 'a callback = 'a
val create_file : name:string -> content:string -> unit
val read_file : name:string -> string
val set_channel_output' : out_channel -> (js_string:Js.t -> unit) callback -> unit
val set_channel_input' : in_channel -> (unit -> string) callback -> unit
val mount_point : unit -> string list
val mount_autoload : string -> (string -> string -> string option) callback -> unit
val unmount : string -> unit
OCaml

Innovation. Community. Security.