LogoPear Docs

Reference

Authoritative descriptions of the Bare runtime, its CLI, building blocks, and the bare-* module catalog. Use this when you need a fact, not a tutorial.

Reference is the technical description of how Bare works. It's information-oriented: comprehensive, accurate, and dry. Use it to look up an API signature or a module.

If you're trying to accomplish a specific task, see How To. For the design rationale, see About Bare.

In this section

Bare

  • Bare runtime API—the Bare global: process properties, lifecycle, addons, threads, IPC.
  • Bare CLI—run a script or REPL with the bare command.
  • Bare Kit—the Worklet and IPC API for iOS, Android, and React Native.
  • Native-addon CI prebuilds—building and publishing prebuilt native addons.

Module catalog

  • Bare modules—the full bare-* standard library, with the Node.js compatibility table.

Building blocks

The core peer-to-peer primitives Bare (and Pear) are built on:

Helpers

Higher-level utilities that combine the building blocks:

Tools

CLI utilities built on Bare:

For Pear's CLI, configuration, and release tooling, see Pear's Reference.

Stability legend

Module pages call out a stability indicator. The four levels:

StabilityDescription
stableUnlikely to change or be removed in the foreseeable future.
experimentalNew, untested, or has known issues.
deprecatedBeing removed or replaced in the future.
unstableMay change or be removed without warning.

On this page