Gathering detailed insights and metrics for readable-web-to-node-stream
Gathering detailed insights and metrics for readable-web-to-node-stream
Gathering detailed insights and metrics for readable-web-to-node-stream
Gathering detailed insights and metrics for readable-web-to-node-stream
readable-stream-node-to-web
Converts a node Readable stream to a web ReadableStream
node-readable-to-web-readable-stream
Convert Node Readable to Web API ReadableStream
web-to-node-readablestream
Converts a Web-API readable-stream into a Node readable-stream.
@teamteanpm2024/optio-explicabo-nobis
This is a fork of https://github.com/ehmicky/human-signals, but automatically patched to support ESM **and** CommonJS, unlike the original repository.
Converts a Web-API ReadableStream into a Node stream.Readable
npm install readable-web-to-node-stream
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.1
Supply Chain
91.2
Quality
78.4
Maintenance
100
Vulnerability
100
License
TypeScript (100%)
Total Downloads
581,149,935
Last Day
263,645
Last Week
4,789,973
Last Month
20,469,538
Last Year
219,935,475
45 Stars
537 Commits
8 Forks
1 Watchers
11 Branches
2 Contributors
Updated on May 23, 2025
Latest Version
5.0.0
Package Id
readable-web-to-node-stream@5.0.0
Unpacked Size
15.87 kB
Size
4.06 kB
File Count
8
NPM Version
10.9.2
Node Version
23.7.0
Published on
Feb 16, 2025
Cumulative downloads
Total Downloads
Converts a Web-API readable stream into a Node.js readable stream.
To covert the other way around, from Node.js readable stream to Web-API readable stream, you may use node-readable-to-web-readable-stream.
Install via npm:
1npm install readable-web-to-node-stream
or yarn:
1yarn add readable-web-to-node-stream
Version 4 migrated from CommonJS (CJS) to a pure ECMAScript module (ESM). The ESM has a Node and a default entry point. Source is written in TypeScript and compiled to ECMAScript ES2020 (ES11). The Node entry requires a Node.js ≥ 18 engine.
Example, import readable-web-stream-to-node in JavaScript:
1import { ReadableWebToNodeStream } from 'readable-web-to-node-stream'; 2 3async function download(url) { 4 const response = await fetch(url); 5 const readableWebStream = response.body; 6 const nodeStream = new ReadableWebToNodeStream(readableWebStream); 7}
For Node.js ≥ 22, should also work in a CommonJS projects:
1const {ReadableWebToNodeStream} = require('readable-web-to-node-stream'); 2 3async function download(url) { 4 const response = await fetch(url); 5 const readableWebStream = response.body; 6 const nodeStream = new ReadableWebToNodeStream(readableWebStream); 7}
For TypeScript / CommonJS projects, not using Node.js ≥ 22, check load-esm.
constructor(stream: ReadableStream, options): Promise
stream: ReadableStream
: the Web-API readable stream.options?: {propagateDestroy: boolean}
propagateDestroy
, default value is false
, if set to true
, will also cancel the stream when the Node.js Readable is destroyed.(The MIT License)
Copyright (c) 2025 Borewit
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
SAST tool detected but not run on all commits
Details
Reason
4 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-06-02
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
-1.5%
263,645
Compared to previous day
Last Week
-6.3%
4,789,973
Compared to previous week
Last Month
1.3%
20,469,538
Compared to previous month
Last Year
29.4%
219,935,475
Compared to previous year