Gathering detailed insights and metrics for jy-7zip-min
Gathering detailed insights and metrics for jy-7zip-min
npm install jy-7zip-min
Typescript
Module System
Node Version
NPM Version
69.5
Supply Chain
91.9
Quality
75.9
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
176
Last Day
1
Last Week
3
Last Month
9
Last Year
176
MIT License
43 Stars
194 Commits
16 Forks
4 Watchers
1 Branches
5 Contributors
Updated on Feb 22, 2025
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
jy-7zip-min@1.0.0
Unpacked Size
16.21 kB
Size
5.92 kB
File Count
7
NPM Version
9.6.7
Node Version
18.17.0
Published on
Aug 27, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
3
Compared to previous week
Last Month
-40%
9
Compared to previous month
Last Year
0%
176
Compared to previous year
Minimal cross-platform pack/unpack (and any command) with 7-zip for Node.js.
It does not require 7zip to be installed in your system.
This package includes standalone 7za version of 7-Zip (uses precompiled binaries from 7zip-bin package).
According to Command Line Version User's Guide page, 7za supports only 7z, lzma, cab, zip, gzip, bzip2, Z and tar formats.
To get more details check 7zip-bin package repo.
You may use pack
and unpack
methods for simple packing/unpacking.
You can also use list
to get an array with the file content properties (includes date, time, attr, size, compressed and name)
Or use cmd
to run 7za with custom parameters (see Command Line Version User's Guide)
1const _7z = require('7zip-min'); 2 3// unpack 4_7z.unpack('path/to/archive.7z', 'where/to/unpack', err => { 5 // done 6}); 7 8// unpack into the current directory (process.cwd()) if no output directory specified 9_7z.unpack('path/to/archive.7z', err => { 10 // done 11}); 12 13// pack 14_7z.pack('path/to/dir/or/file', 'path/to/archive.7z', err => { 15 // done 16}); 17 18// list 19_7z.list('path/to/archive.7z', (err, result) => { 20 // in result you will have an array with info list for your archive 21 // For each element in the archive you will have: 22 // name, date, time, attr, size (in bytes), compressed (compressed size in bytes), crc, method, encrypted, block 23 // Depending on the archive type some values may be empty or missed 24}); 25 26// cmd 27// in the first parameter you have to provide an array of parameters 28// check 7z's Command Line Version User's Guide - https://sevenzip.osdn.jp/chm/cmdline/index.htm 29// the bellow command is equal to `7za a path/to/archive.7z path/to/dir/or/file` and will add `path/to/dir/or/file` to `path/to/archive.7z` archive 30_7z.cmd(['a', 'path/to/archive.7z', 'path/to/dir/or/file'], err => { 31 // done 32});
npm test
No vulnerabilities found.
Reason
25 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 0/7 approved changesets -- 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
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-03-10
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