A minimal base library intended for the BuckleScript/Reason ecosystem. Uses Reasonable conventions and is easily consumed via npm.
Mostly undocumented and untested. Prone to change without warning. Use at your own risk.
- Cross-platform
- Compile to efficient JavaScript code
- Compile to readable JavaScript code
- JS first
- No platform-specific APIs exposed
- Prefer piped form, e.g.
"a" |> String.concat("b") == "ab" - The subject of functions in type-wrapping modules should always be
t - Enforce common patterns using module signatures
npm install --save @glennsl/rebaseThen add @glennsl/rebase to bs-dependencies in your bsconfig.json:
{
...
"bs-dependencies": ["@glennsl/rebase"]
}For the moment, please see Rebase.rei. There's not many doc comments yet, but most functions should be pretty self-explanatory.