
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
@types/readable-stream
Advanced tools
npm install --save @types/readable-stream
This package contains type definitions for readable-stream (https://github.com/nodejs/readable-stream).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/readable-stream.
These definitions were written by TeamworkGuy2, and markdreyer.
The 'stream' package is actually the native Node.js Streams module. It provides the foundational building blocks for working with streams in Node.js. Compared to @types/readable-stream, it does not require type definitions because it's part of Node.js itself, but using it in TypeScript projects without type definitions might not provide the same level of type safety.
Through2 is a tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise. It's similar to @types/readable-stream in that it provides a simpler interface for working with streams, but it focuses more on transform streams and does not come with TypeScript types out of the box.
Highland.js manages synchronous and asynchronous code easily, using nothing more than standard JavaScript and Node-like Streams. While it offers functionality similar to @types/readable-stream by working with streams, it also introduces utilities for handling asynchronous operations and managing backpressure, making it more of a utility library on top of streams rather than just type definitions.
FAQs
TypeScript definitions for readable-stream
The npm package @types/readable-stream receives a total of 1,737,990 weekly downloads. As such, @types/readable-stream popularity was classified as popular.
We found that @types/readable-stream demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.