# @metamask/json-rpc-middleware-stream

> A small toolset for streaming JSON-RPC data and matching requests and responses

Latest version **9.0.0** (published 2026-09-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install @metamask/json-rpc-middleware-stream
pnpm add @metamask/json-rpc-middleware-stream
yarn add @metamask/json-rpc-middleware-stream
bun add @metamask/json-rpc-middleware-stream
```

## Health

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

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 9.0.0 |
| Published | 2026-09-09 |
| First published | 2023-11-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM |
| Node | ^22.14.0 \|\| ^24 |
| Dependencies | 4 |
| Unpacked size | 33.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 413 |
| Maintainers | frederikbolding, metamaskbot, gudahtt, mrten, mcmire, naugtur |
| Keywords | Ethereum, MetaMask |

## Links

- npm: https://www.npmjs.com/package/@metamask/json-rpc-middleware-stream
- Repository: https://github.com/MetaMask/core
- Homepage: https://github.com/MetaMask/core/tree/main/packages/json-rpc-middleware-stream#readme
- Issues: https://github.com/MetaMask/core/issues
- npm.io page: https://npm.io/package/@metamask/json-rpc-middleware-stream

## Dependencies (4)

- [@metamask/utils](https://npm.io/package/@metamask/utils.md) ^11.12.0
- [readable-stream](https://npm.io/package/readable-stream.md) ^3.6.2
- [@metamask/json-rpc-engine](https://npm.io/package/@metamask/json-rpc-engine.md) ^11.0.0
- [@metamask/safe-event-emitter](https://npm.io/package/@metamask/safe-event-emitter.md) ^3.1.3

## Recent versions

- 9.0.0 (latest) — 2026-09-09
- 8.0.8 — 2025-10-09
- 8.0.7 — 2025-02-11
- 8.0.6 — 2024-12-19
- 8.0.5 — 2024-10-29
- 8.0.4 — 2024-10-16
- 8.0.3 — 2024-09-16
- 8.0.2 — 2024-07-22
- 8.0.1 — 2024-07-12
- 8.0.0 — 2024-05-31
- 7.0.2 — 2024-05-31
- 7.0.1 — 2024-03-13
- 7.0.0 — 2024-03-12
- 6.0.2 — 2024-01-23
- 6.0.1 — 2023-12-22
- … 2 more at https://npm.io/package/@metamask/json-rpc-middleware-stream/versions

## README

# @metamask/json-rpc-middleware-stream

A small toolset for streaming JSON RPC data and matching requests and responses. Made to be used with [`@metamask/json-rpc-engine`](https://npmjs.com/package/@metamask/json-rpc-engine).

## Installation

`yarn add @metamask/json-rpc-middleware-stream`

or

`npm install @metamask/json-rpc-middleware-stream`

## Contributing

This package is part of a monorepo. Instructions for contributing can be found in the [monorepo README](https://github.com/MetaMask/core#readme).

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