Protobuf JSON Runtime for BuckleScript
Find a file
2019-12-31 15:12:16 -05:00
src Support for wrapped type decoding 2019-12-31 15:11:42 -05:00
tests Support for wrapped type decoding 2019-12-31 15:11:42 -05:00
.gitignore New BuckleScript runtime 2017-04-05 06:17:46 -07:00
.merlin Support for wrapped type decoding 2019-12-31 15:11:42 -05:00
.npmignore Fix before publish 2017-03-17 20:38:07 +00:00
bsconfig.json New BuckleScript runtime 2017-04-05 06:17:46 -07:00
LICENSE Add License information 2017-03-17 14:26:03 +00:00
package.json Bumped version 2019-12-31 15:12:16 -05:00
README.md Fix README 2017-04-11 04:11:24 +00:00

Protobuf JSON Runtime for BuckleScript

This package provide the runtime library in BuckleScript to be used with generated code from ocaml-protoc.

Installation - Prerequesites

opam

opam is the package manager for OCaml

If not installed you can install it running the following:

wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | \
  sh -s /usr/local/bin 4.02.3+buckle-master
eval `opam config env` 

ocaml-protoc

ocaml-protoc is the compiler for protobuf messages to OCaml

opam install --yes ocaml-protoc

npm

We assume you have node installed!

Simple example

For a simple example see here.