LogoPear Docs
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.

ModuleDescriptionSystems    Stability
bare-abortCause abnormal program termination and generate a crash report
stable
bare-ansi-escapesParse and produce ANSI escape sequences
stable
bare-assertAssertion library for JavaScript
stable
bare-atomicsNative synchronization primitives for JavaScript
stable
bare-bufferNative buffers for JavaScript
stable
bare-bundleApplication bundle format for JavaScript
stable
bare-channelInter-thread messaging for JavaScript
stable
bare-consoleWHATWG debugging console for JavaScript
stable
bare-cryptoCryptographic primitives for JavaScript
stable
bare-daemonCreate and manage daemon processes in JavaScript
stable
bare-dgramNative UDP for JavaScript
stable
bare-dnsDomain name resolution for JavaScript
stable
bare-encodingWHATWG text encoding interfaces for JavaScript
stable
bare-envEnvironment variable support for JavaScript
stable
bare-eventsEvent emitters for JavaScript
stable
bare-fetchWHATWG Fetch implementation for Bare
stable
bare-form-dataForm data support for Bare
stable
bare-formatString formatting for JavaScript
stable
bare-fsNative file system for JavaScript
stable
bare-hrtimeHigh-resolution timers for JavaScript
stable
bare-http1HTTP/1 library for JavaScript
stable
bare-httpsHTTPS library for JavaScript
stable
bare-inspectInspect objects as strings for debugging
stable
bare-inspectorV8 inspector support for Bare
stable
bare-ipcLightweight pipe-based IPC for Bare
stable
bare-loggerLow-level logger for Bare with system log integration
stable
bare-moduleModule support for JavaScript
stable
bare-osOperating system utilities for JavaScript
stable
bare-packBundle packing for Bare
stable
bare-pathPath manipulation library for JavaScript
stable
bare-performancePerformance monitoring for Bare
stable
bare-pipeNative I/O pipes for JavaScript
stable
bare-queue-microtaskMicrotask queuing for Bare
stable
bare-readlineLine editing for interactive CLIs with command history
stable
bare-realmRealm support for Bare
stable
bare-replRead-Evaluate-Print-Loop environment for JavaScript
stable
bare-rpclibrpc ABI compatible RPC for Bare
stable
bare-semverMinimal semantic versioning library for Bare
stable
bare-signalsNative signal handling for JavaScript
stable
bare-streamStreaming data for JavaScript
stable
bare-structured-cloneStructured cloning algorithm for JavaScript
stable
bare-subprocessNative process spawning for JavaScript
stable
bare-tcpNative TCP sockets for JavaScript
stable
bare-timersNative timers for JavaScript
stable
bare-tlsTransport Layer Security (TLS) streams for JavaScript
stable
bare-ttyNative TTY streams for JavaScript
stable
bare-typeCross-realm type predicates for Bare
stable
bare-unpackBundle unpacking for Bare
stable
bare-urlWHATWG URL implementation for JavaScript
stable
bare-workerHigher-level worker threads for JavaScript
stable
bare-wsWebSocket library for JavaScript
stable
bare-zlibStream-based zlib bindings for JavaScript
stable
bare-zmqLow-level ZeroMQ bindings for JavaScript
stable

Compatibility modules for Node.js builtins in Bare can be found in bare-node.

See also

On this page