Skip to content

watilde/jsoo-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsoo-bin

Binary wrapper for js_of_ocaml

Getting started

Install

$ npm install -g jsoo-bin

Usage

$ jsoo -h
Usage:
    jsoo [options] [ml files]

Examples:
    jsoo foo.ml bar.ml baz.ml
    jsoo foo.ml bar.ml baz.ml -o out.js

Options:
    -h, --help    Print this message
    -o, --out     Output to single file
    -v, --version Print jsoo-bin version

Example

$ cat hello.ml
print_endline "Hello world!";;

$ jsoo hello.ml -o hello.js
$ ls
hello.cmi hello.cmo hello.js  hello.ml

$ node hello.js
Hello world!

About

Binary wrapper for js_of_ocaml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published