ReferencesModules
Bare modules
Catalog of `bare-*` runtime modules that supply Bare's standard-library functionality (process, fs, net, crypto, streams, …).
Bare modules
Pear's native runtime is Bare—a small, modular JavaScript runtime for desktop and mobile. The Bare global API is minimal and not intended as a standard library; standard runtime functionality is provided via installable modules prefixed with bare-.
If you author native addons for Bare, the Bare native-addon prebuild actions build and collect prebuilt binaries across platforms in CI.
| Module | Description | Systems | Stability |
|---|---|---|---|
| bare-abort | Cause abnormal program termination and generate a crash report | stable | |
| bare-ansi-escapes | Parse and produce ANSI escape sequences | stable | |
| bare-assert | Assertion library for JavaScript | stable | |
| bare-atomics | Native synchronization primitives for JavaScript | stable | |
| bare-buffer | Native buffers for JavaScript | stable | |
| bare-bundle | Application bundle format for JavaScript | stable | |
| bare-channel | Inter-thread messaging for JavaScript | stable | |
| bare-console | WHATWG debugging console for JavaScript | stable | |
| bare-crypto | Cryptographic primitives for JavaScript | stable | |
| bare-daemon | Create and manage daemon processes in JavaScript | stable | |
| bare-dgram | Native UDP for JavaScript | stable | |
| bare-dns | Domain name resolution for JavaScript | stable | |
| bare-encoding | WHATWG text encoding interfaces for JavaScript | stable | |
| bare-env | Environment variable support for JavaScript | stable | |
| bare-events | Event emitters for JavaScript | stable | |
| bare-fetch | WHATWG Fetch implementation for Bare | stable | |
| bare-form-data | Form data support for Bare | stable | |
| bare-format | String formatting for JavaScript | stable | |
| bare-fs | Native file system for JavaScript | stable | |
| bare-hrtime | High-resolution timers for JavaScript | stable | |
| bare-http1 | HTTP/1 library for JavaScript | stable | |
| bare-https | HTTPS library for JavaScript | stable | |
| bare-inspect | Inspect objects as strings for debugging | stable | |
| bare-inspector | V8 inspector support for Bare | stable | |
| bare-ipc | Lightweight pipe-based IPC for Bare | stable | |
| bare-logger | Low-level logger for Bare with system log integration | stable | |
| bare-module | Module support for JavaScript | stable | |
| bare-os | Operating system utilities for JavaScript | stable | |
| bare-pack | Bundle packing for Bare | stable | |
| bare-path | Path manipulation library for JavaScript | stable | |
| bare-performance | Performance monitoring for Bare | stable | |
| bare-pipe | Native I/O pipes for JavaScript | stable | |
| bare-queue-microtask | Microtask queuing for Bare | stable | |
| bare-readline | Line editing for interactive CLIs with command history | stable | |
| bare-realm | Realm support for Bare | stable | |
| bare-repl | Read-Evaluate-Print-Loop environment for JavaScript | stable | |
| bare-rpc | librpc ABI compatible RPC for Bare | stable | |
| bare-semver | Minimal semantic versioning library for Bare | stable | |
| bare-signals | Native signal handling for JavaScript | stable | |
| bare-stream | Streaming data for JavaScript | stable | |
| bare-structured-clone | Structured cloning algorithm for JavaScript | stable | |
| bare-subprocess | Native process spawning for JavaScript | stable | |
| bare-tcp | Native TCP sockets for JavaScript | stable | |
| bare-timers | Native timers for JavaScript | stable | |
| bare-tls | Transport Layer Security (TLS) streams for JavaScript | stable | |
| bare-tty | Native TTY streams for JavaScript | stable | |
| bare-type | Cross-realm type predicates for Bare | stable | |
| bare-unpack | Bundle unpacking for Bare | stable | |
| bare-url | WHATWG URL implementation for JavaScript | stable | |
| bare-worker | Higher-level worker threads for JavaScript | stable | |
| bare-ws | WebSocket library for JavaScript | stable | |
| bare-zlib | Stream-based zlib bindings for JavaScript | stable | |
| bare-zmq | Low-level ZeroMQ bindings for JavaScript | stable |
Compatibility modules for Node.js builtins in Bare can be found in bare-node.
See also
- Modules—higher-level
pear-*modules built on Bare. pear-runtimereference—JavaScript API exposed inside a running Pear app.- Runtime and languages—the language-and-runtime story behind both.