Installations
npm install pause-stream
Releases
Unable to fetch releases
Developer
dominictarr
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
NPM Version
1.3.6
Statistics
44 Stars
34 Commits
11 Forks
4 Watching
1 Branches
5 Contributors
Updated on 29 Aug 2024
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
896,975,098
Last day
-13.5%
764,853
Compared to previous day
Last week
3.5%
4,658,503
Compared to previous week
Last month
9%
18,861,758
Compared to previous month
Last year
5.3%
195,925,709
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
2
PauseStream
This is a Stream
that will strictly buffer when paused.
Connect it to anything you need buffered.
1 var ps = require('pause-stream')(); 2 3 badlyBehavedStream.pipe(ps.pause()) 4 5 aLittleLater(function (err, data) { 6 ps.pipe(createAnotherStream(data)) 7 ps.resume() 8 })
PauseStream
will buffer whenever paused.
it will buffer when yau have called pause
manually.
but also when it's downstream dest.write()===false
.
it will attempt to drain the buffer when you call resume
or the downstream emits 'drain'
PauseStream
is tested using stream-spec
and stream-tester
This is now the default case of through
https://github.com/dominictarr/pause-stream/commit/4a6fe3dc2c11091b1efbfde912e0473719ed9cc0
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 4/29 approved changesets -- score normalized to 1
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 5 are checked with a SAST tool
Score
3.1
/10
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