rvagg/through2
Tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 4780
- days_rel: 34
- days_push: 9
- n_releases_24m: 12
Adoption not part of the score
1907 stars · 105 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny Node.js library that wraps stream Transform logic in simple functions, avoiding explicit subclassing of stream.Transform. It supports both Node-style streams and Web Streams pipelines with callback, async function, and async generator transform styles.
Use cases
- transform data chunks in a node.js stream pipeline without writing a Transform subclass
- map filter or batch items flowing through a stream
- insert async transformation logic into a web streams pipeThrough pipeline
- parse newline-delimited input line by line from a readable stream
- build object-mode transform streams with minimal boilerplate
When to choose
- you need to add transformation steps to Node.js or Web Streams pipelines with minimal code
- you want to avoid subclassing stream.Transform and handling backpressure manually
- you prefer a tiny dependency with a simple function-based API
- you need async/await or async generator support in stream transforms
When to avoid
- you need complex multi-stage stream orchestration beyond simple transforms
- you are not working with streams at all
- you require CommonJS on Node versions older than 22.12 without pinning to v4
Facets
library · maturity stable
streaming concurrency developer-tools developer-tools backend node-streams web-streams transform-stream stream-pipeline esm data-engineering nodejs javascript
2 sources
- readme: https://github.com/rvagg/through2 · fetched 2026-08-28 · 786c5cd22f9c
- registry_npm: https://registry.npmjs.org/through2 · fetched 2026-08-29 · 833e313b1703
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rvagg/through2 | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem