Modules
Catalog of installable Pear modules — application, UI, common, developer, and integration libraries shipped as `pear-*` packages.
Modules
The Pear global API is minimal and not intended as a standard library. Application and integration libraries are supplied via installable modules prefixed with pear-.
Application libraries
Pear modules related directly to the application environment.
| Module | Description | Systems | Stability |
|---|---|---|---|
| pear-crasher | Uncaught exceptions & uncaught rejections crash logger | stable | |
| pear-message | Send inter-app pattern-matched object messages | stable | |
| pear-messages | Receive object messages that match a given object pattern | stable | |
| pear-pipe | Parent-app-connected pipe, the other end of pear-run pipe | stable | |
| pear-run | Run Pear child app by link. Returns a pipe to the child pipe | stable | |
| pear-updates | Receive platform and application update notifications | stable | |
| pear-user-dirs | Get the path of user-specific directories | stable | |
| pear-wakeups | Receive wakeup events, including link clicks external to app | stable |
User interface libraries
Pear modules that supply User Interface runtime capabilities.
| Module | Description | Systems | Stability |
|---|---|---|---|
| pear-electron | Pear User-Interface Library for Electron | stable | |
| pear-bridge | Local HTTP bridge for pear-electron applications | stable |
Common libraries
Pear modules for general usage, including applications per case.
| Module | Description | Systems | Stability |
|---|---|---|---|
| pear-drop | Drop data, including application reset | stable | |
| pear-dump | Synchronize files from link to dir peer-to-peer or from-disk | stable | |
| pear-gracedown | Pear graceful closer. For use with pipe.autoexit = false | stable | |
| pear-info | Read Pear project information by link | stable | |
| pear-link | Parser-Serializer for pear:// links. Includes alias resolution | stable | |
| pear-opwait | Pear operation stream promise wrapper | stable | |
| pear-release | Set application production release version length | stable | |
| pear-seed | Seed or reseed a Pear app drive by link | stable | |
| pear-stage | Synchronize from-disk to app drive peer-to-peer | stable | |
| pear-stamp | Interleave locals into a template, sync and stream | stable |
Developer libraries
Pear modules to assist with developing & debugging
| Module | Description | Systems | Stability |
|---|---|---|---|
| pear-inspect | Securely enable remote debugging protocol over Hyperswarm | stable | |
| pear-hotmods | For pear-electron UI apps. Frontend framework-agnostic live-reload | stable |
Integration libraries
Pear modules for runtime integrations. Such as pear-electron.
| Module | Description | Systems | Stability |
|---|---|---|---|
| pear-appdrive | Read-only Hyperdrive API subset interface for application drives | stable | |
| pear-aliases | List of aliases for pear://<alias> links | stable | |
| pear-api | global.Pear API class | stable | |
| pear-changelog | Changelog parsing and diffing | stable | |
| pear-constants | Shared Pear constants | stable | |
| pear-cmd | Command parser & definitions | stable | |
| pear-errors | Shared Pear error types | stable | |
| pear-gunk | Shared builtins, overrides & linker mappings | unstable | |
| pear-ipc | Interprocess Communication library | stable | |
| pear-ref | IO handle reference counter & tracker | stable | |
| pear-rti | Runtime Information state bootstrap for API building | stable | |
| pear-state | Shared state structure & capabilities | stable | |
| pear-terminal | Terminal User Interface library | stable | |
| pear-tryboot | Used with pear-ipc, tries to boot sidecar on connect failure | stable |
See also
- Bare modules — the lower-level
bare-*runtime modules. - Building blocks — peer-to-peer primitives:
- Helpers — utilities that complement the building blocks:
- Tools — standalone CLI utilities: