# @cosmjs/stream

> Utility functions for producing and consuming streams

Latest version **0.39.0** (published 2026-05-04) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @cosmjs/stream
pnpm add @cosmjs/stream
yarn add @cosmjs/stream
bun add @cosmjs/stream
```

## Health

**Score 60/100 (C)** — status: active.

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.39.0 |
| Published | 2026-05-04 |
| First published | 2020-06-28 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 31 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 700 |
| Maintainers | webmaster128, kiki-skip |

## Links

- npm: https://www.npmjs.com/package/@cosmjs/stream
- Repository: https://github.com/cosmos/cosmjs/tree/main/packages/stream
- npm.io page: https://npm.io/package/@cosmjs/stream

## Dependencies (1)

- [xstream](https://npm.io/package/xstream.md) ^11.14.0

## Recent versions

- 0.39.0 (latest) — 2026-05-04
- 0.37.1 (backports-unsorted) — 2025-12-31
- 0.38.0-rc.1 (next) — 2025-12-24
- 0.38.1 — 2025-12-31
- 0.38.0 — 2025-12-30
- 0.37.0 — 2025-10-29
- 0.35.2 — 2025-10-29
- 0.37.0-rc.1 — 2025-10-24
- 0.36.2-0 — 2025-10-24
- 0.36.2 — 2025-10-24
- 0.35.1 — 2025-10-22
- 0.34.1 — 2025-10-22
- 0.37.0-rc.0 — 2025-10-17
- 0.36.1 — 2025-10-02
- 0.36.0 — 2025-08-14
- … 110 more at https://npm.io/package/@cosmjs/stream/versions

## README

# @cosmjs/stream

![typescript](https://img.shields.io/npm/types/@cosmjs/stream.svg)
[![npm version](https://img.shields.io/npm/v/@cosmjs/stream.svg)](https://www.npmjs.com/package/@cosmjs/stream)
[![license](https://img.shields.io/npm/l/@cosmjs/stream.svg)](https://github.com/cosmos/cosmjs/blob/v0.35.0/LICENSE)
![minimum node version](https://img.shields.io/node/v/@cosmjs/stream.svg)
![minified size](https://img.shields.io/bundlephobia/min/@cosmjs/stream.svg)
![monthly downloads](https://img.shields.io/npm/dm/@cosmjs/stream.svg)

@cosmjs/stream are some helper methods and classes to help with stream
processing.

## License

This package is part of the cosmjs repository, licensed under the Apache License
2.0 (see [NOTICE](https://github.com/cosmos/cosmjs/blob/main/NOTICE) and
[LICENSE](https://github.com/cosmos/cosmjs/blob/main/LICENSE)).

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