Gathering detailed insights and metrics for async-zip-stream
Gathering detailed insights and metrics for async-zip-stream
Gathering detailed insights and metrics for async-zip-stream
Gathering detailed insights and metrics for async-zip-stream
npm install async-zip-stream
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Commits
2 Watching
1 Branches
1 Contributors
Updated on 21 May 2024
TypeScript (84.7%)
JavaScript (15.3%)
Cumulative downloads
Total Downloads
Last day
27.3%
14
Compared to previous day
Last week
-17.4%
95
Compared to previous week
Last month
3.1%
428
Compared to previous month
Last year
25.5%
3,414
Compared to previous year
Helper code to create zip stream from source readable streams. Input streams can be created in lazy manner. Main feature - streams are used sequentially.
1npm i async-zip-stream
1import {createZipStream} from 'async-zip-stream'; 2 3const zipSourceStream = createZipStream([ 4 { 5 name: 'file.txt', 6 async stream(): Promise<Readable> { 7 return fs.createReadStream('somefile'); 8 }, 9 } 10]); 11 12const destination = fs.createWriteStream('/some/file.zip'); 13 14zipSourceStream.on('error', (error) => { 15 //... 16}); 17 18destination.on('error', (error) => { 19 //... 20}); 21 22destination.on('finish', () => { 23 //... 24}); 25 26zipSourceStream.pipe(destination);
Fork it, branch it, send me a pull request. We'll work out the rest together.
See LICENSE
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/2 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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