Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
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.