package prr
Install
Dune Dependency
Authors
Maintainers
Sources
md5=af96abcfdbe77859be0feae50ab64ceb
sha512=ae01bbfebc2631839afe970f587e065e055cab944fcc29cec3feb0c91ce39eda0bd347cb5546f8efa5dd7766a73d71b9d41cc3b89211d20b58829f2732f8314b
README.md.html
prr — (almost-)brr-compatible JavaScript FFI library sans browser-only APIs
Prr is a fork of Brr, which provides a subset of its APIs:
Jstr
: JavaScript strings.Jv
: JavaScript values.Fut
: Future values.Brr.*
: Various utils on JavaScript globals, but with some omissions when compared to brr: | Included? | Module(s) | Comments | |--|--|--| | ❌ |Ev
,At
,El
(DOM related) | | | ❌ |Abort
| | | ❌ |Window
| | | ❌ |Navigator
| | | ❌ |Performance
| | | ❌ |File
| | | 🟡 |G
| most are included, except globals regarding the above omitted modules and utils related to animated timing | | ✅ | Tarray | | | ✅ | Blob | | | ✅ | Base64 | | | ✅ | Json | | | ✅ | Uri | | | ✅ | Console | |
Prr focuses on providing Brr's JavaScript FFI facilities and selected utils modules; and is intended to be used in Web / Node.js / React Native development.
Prr is distributed under the ISC license. It depends on the js_of_ocaml
compiler and runtime – but not on its libraries or syntax extension.
Please also see Brr's official homepage: https://erratique.ch/software/brr
Installation
Add this repository as a git submodule, then use the vendoring feature of dune
.
Prr may also be available on opam
in future:
opam install prr # not for now
Documentation
Please see Brr's official documentation.