# @onflow/util-rpc

> Lightweight utility for creating transport-agnostic, bidirectional JSON-RPC channels.

Latest version **0.0.3** (published 2025-09-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @onflow/util-rpc
pnpm add @onflow/util-rpc
yarn add @onflow/util-rpc
bun add @onflow/util-rpc
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2025-09-08 |
| First published | 2024-08-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 61.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 333 |
| Author | Flow Foundation |
| Maintainers | han210, dapperj, dapper_labs, jeffreydoyle, harry.eth, turbolent_flow, chasefleming, gregsantos, gregorggg, jribbink, bthaile, nialexsan, sisyphussmiling, lmcmze |

## Links

- npm: https://www.npmjs.com/package/@onflow/util-rpc
- Repository: https://github.com/onflow/fcl-js
- Homepage: https://flow.com
- Issues: https://github.com/onflow/fcl-js/issues
- npm.io page: https://npm.io/package/@onflow/util-rpc

## Dependencies (1)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.25.7

## Recent versions

- 0.0.3 (latest) — 2025-09-08
- 0.0.2-alpha.0 (alpha) — 2024-10-22
- 0.0.2 — 2024-11-27
- 0.0.1 — 2024-08-16

## README

# @onflow/util-rpc

Lightweight utility for creating transport-agnostic, bidirectional JSON-RPC channels.

# Status

- **Last Updated:** Aug 6th, 2024
- **Stable:** No
- **Risk of Breaking Change:** Yes

# Install

```bash
npm install --save @onflow/util-rpc
```

# Usage

```javascript
import {RpcClient} from "@onflow/util-rpc"

const rpc = new RpcClient(...)
rpc.connect(...)
```

---
_Source: https://npm.io/package/@onflow/util-rpc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
