Gathering detailed insights and metrics for @myrotvorets/buffer-stream
Gathering detailed insights and metrics for @myrotvorets/buffer-stream
Gathering detailed insights and metrics for @myrotvorets/buffer-stream
Gathering detailed insights and metrics for @myrotvorets/buffer-stream
npm install @myrotvorets/buffer-stream
Typescript
Module System
Node Version
NPM Version
TypeScript (96.64%)
JavaScript (3.36%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
1 Stars
1,209 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jul 14, 2025
Latest Version
1.4.1
Package Id
@myrotvorets/buffer-stream@1.4.1
Unpacked Size
10.50 kB
Size
3.94 kB
File Count
15
NPM Version
10.8.2
Node Version
20.17.0
Published on
Sep 03, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Converts a Buffer into a Readable Stream.
Since version 1.1.0, it provides a helper to read the entire stream into a Buffer.
Since version 1.3.0, it provides a writable stream that stores the result in a buffer.
1import { BufferStream, WritableBufferStream, streamToBuffer } from '@myrotvorets/buffer-stream'; 2 3// BufferStream 4const buf = Buffer.from('123'); 5const stream = new BufferStream(buf); 6 7// streamToBuffer 8streamToBuffer(stream).then((buffer) => { /* ... */ }) 9 10// WritableBufferStream 11const stream = new WritableBufferStream(); 12stream.write('something', (err) => { 13 if (!err) { 14 console.log(stream.toString()); 15 16 stream.clear(); // Clear the internal buffer 17 } 18}); 19 20await stream.writeP('something else');
See the test
directory for usage examples.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
0 existing vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 9
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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