Gathering detailed insights and metrics for @smessie/readable-web-to-node-stream
Gathering detailed insights and metrics for @smessie/readable-web-to-node-stream
Gathering detailed insights and metrics for @smessie/readable-web-to-node-stream
Gathering detailed insights and metrics for @smessie/readable-web-to-node-stream
npm install @smessie/readable-web-to-node-stream
v3.0.1
Published on 03 Jan 2021
Depend on Node.js stream shim dependency
Published on 01 Nov 2020
Remove irrelevant project files from NPM distribution
Published on 21 May 2019
Update ESCMAScript to version 2017 (ES8)
Published on 20 May 2019
Fixed stream cancellation
Published on 04 May 2019
Initial release
Published on 01 May 2019
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
44 Stars
495 Commits
8 Forks
2 Watching
19 Branches
2 Contributors
Updated on 18 Jul 2024
TypeScript (80.26%)
JavaScript (19.74%)
Cumulative downloads
Total Downloads
Last day
-35%
668
Compared to previous day
Last week
-2.3%
4,051
Compared to previous week
Last month
-17.4%
18,552
Compared to previous month
Last year
0%
162,364
Compared to previous year
2
25
Converts a Web-API readable stream into a Node.js readable stream.
Install via npm:
1npm install readable-web-to-node-stream
or yarn:
1yarn add readable-web-to-node-stream
Source is written in TypeScript and compiled to ECMAScript 2017 (ES8).
Unit tests are performed on the following browsers:
Import readable-web-stream-to-node in JavaScript:
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}
constructor(stream: ReadableStream): Promise
stream: ReadableStream
: the Web-API readable stream.
close(): Promise
waitForReadToComplete(): Promise
(The MIT License)
Copyright (c) 2019 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
Found 0/18 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- 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
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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 More