MainframeOS
erebos
TypeScript

JavaScript client and CLI for Swarm

Last updated Jun 21, 2026
48
Stars
11
Forks
9
Issues
0
Stars/day
Attention Score
27
Language breakdown
TypeScript 91.7%
JavaScript 7.4%
CSS 0.7%
Shell 0.2%
Batchfile 0.0%
โ–ธ Files click to expand
README

Erebos Build Status Gitter Last release

JavaScript client and CLI for Swarm.

Installation

Node.js v10+ is required to use the Node.js APIs and run the CLI.

Client library

npm install @erebos/swarm-browser # browser-only
npm install @erebos/swarm-node # node-only
npm install @erebos/swarm # universal

CLI

npm install -g @erebos/cli

Documentation

Packages

Platform symbols

โš›๏ธ Electron | โš™๏ธ Node | ๐Ÿ“ฑ React-Native | ๐ŸŒ Web browsers

| Name | Version | Platform | Description | | ---- | ------- | -------- | ----------- | | Clients | @erebos/swarm | npm version | โš›๏ธ โš™๏ธ ๐ŸŒ | Universal Erebos library for Swarm | @erebos/swarm-browser | npm version | ๐ŸŒ | Browser-only Erebos library for Swarm | @erebos/swarm-node | npm version| โš›๏ธ โš™๏ธ | Electron and Node Erebos library for Swarm | CLI | @erebos/cli | npm version | | Individual Swarm APIs | @erebos/bzz | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Core Swarm (BZZ) APIs | @erebos/bzz-browser | npm version | ๐ŸŒ | Browser-only Swarm (BZZ) APIs | @erebos/bzz-node | npm version | โš›๏ธ โš™๏ธ | Electron and Node Swarm (BZZ) APIs | @erebos/bzz-react-native | npm version | ๐Ÿ“ฑ | Experimental React Native Swarm (BZZ) APIs | @erebos/pss | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Postal Services over Swarm (PSS) APIs | Additional Swarm APIs | @erebos/bzz-feed | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Swarm feeds interactions | @erebos/bzz-fs | npm version | โš›๏ธ โš™๏ธ | File system interactions | Data structures | @erebos/feed-list | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | List APIs using raw Swarm feeds | @erebos/doc-sync | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | JSON documents synchronization using CRDTs | @erebos/timeline | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Feed-based Timeline APIs | Ethereum and Swarm utilities | @erebos/hex | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Hexadecimal values encoding and decoding | @erebos/keccak256 | npm version | โš›๏ธ โš™๏ธ ๐ŸŒ | Keccak256 hashing | @erebos/secp256k1 | npm version | โš›๏ธ โš™๏ธ ๐ŸŒ | ECDSA key creation and signing using the SECP256k1 curve | @erebos/wallet-hd | npm version | โš›๏ธ โš™๏ธ | Hierarchical Deterministic wallet | RPC utilities | @erebos/rpc-error | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | RPC error class and factories | @erebos/rpc-handler | npm version | โš›๏ธ โš™๏ธ | RPC requests handling helpers | @erebos/rpc-request | npm version | โš›๏ธ โš™๏ธ | Stateless RPC client class | @erebos/rpc-stream | npm version | โš›๏ธ โš™๏ธ | Statefull RPC client class | @erebos/rpc-http-browser | npm version | ๐ŸŒ | RPC client factory over HTTP for browsers | @erebos/rpc-http-node | npm version | โš™๏ธ | RPC client factory over HTTP for Node | @erebos/rpc-ws-browser | npm version | ๐ŸŒ | RPC client factory over WebSocket for browsers | @erebos/rpc-ws-node | npm version | โš™๏ธ | RPC client factory over WebSocket for Node | @erebos/rpc-ipc | npm version | โš™๏ธ | RPC client factory over IPC | @erebos/rpc-browser | npm version | ๐ŸŒ | RPC client factory for browsers | @erebos/rpc-electron | npm version | โš›๏ธ | RPC client factory for Electron | @erebos/rpc-node | npm version | โš™๏ธ | RPC client factory for Node | Transports | @erebos/transport-http-browser | npm version | ๐ŸŒ | HTTP transport for browsers | @erebos/transport-http-node | npm version | โš™๏ธ | HTTP transport for Node | @erebos/transport-ws-browser | npm version | ๐ŸŒ | WebSocket transport for browsers | @erebos/transport-ws-node | npm version | โš™๏ธ | WebSocket transport for Node | @erebos/transport-electron | npm version | โš›๏ธ | IPC transport for Electron | @erebos/transport-ipc | npm version | โš™๏ธ | IPC transport for Node | Base classes | @erebos/client-base | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Shared logic for Client APIs | @erebos/rpc-base | npm version | โš›๏ธ โš™๏ธ ๐Ÿ“ฑ ๐ŸŒ | Shared logic for RPC clients

Development

Prerequisites

Setup

yarn install
yarn start

Running tests

In one terminal window run:

./startswarmnode.sh

And in the second one run:

yarn test:all

License

MIT.\ See LICENSE file.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท MainframeOS/erebos ยท Updated daily from GitHub