Current collected state Current
Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
7zip-bin-wrapper
Wrapper script for [7zip-bin](https://www.npmjs.com/package/7zip-bin)
Wrapper script for 7zip-bin
Parsing output from 7za, create progress event.
Params used by this package: (not able to use your self)
Progress created from 7za output line:
/^(\d+[%M])(?: - )?(.*)$/
interface IStatusReport {
progress: number; // 0 ~ 100
message: string;
}
interface TheHandler {
on(event: 'progress', cb: (progress: IStatusReport) => void): this;
on(event: 'output', cb: (data: string) => void): this;
/** by default, 7z will run at nextTick, but you can use hold() to prevent it */
hold(): void;
/** terminate 7z process */
cancel(): Promise<void>;
/** command line to run */
readonly commandline: ReadonlyArray<string>;
/** 7z's cwd */
readonly cwd: string;
/** wait process complete */
promise(): Promise<void>;
}
import { sevenZip, sevenZipCli, extract, compress } from '7zip-bin-wrapper';
let handler: TheHandler;
// run raw command
handler = sevenZip('x', 'xxx.7z');
// run raw command, with spawn Option
handler = sevenZip({ cwd: '/tmp' }, 'x', 'xxx.7z');
// prevent add -y to 7za, and inherit stdin
handler = sevenZipCli('x', 'xxx.7z');
handler = extract('xxx.7z', 'some/where/else');
handler = compress('xxx.7z', 'to/include/', 'another/include/');
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
split2Environment{
"local_name": "split2",
"alias": false,
"peer_metadata": null
} | ^4.2.0 | runtime |
7zip-binEnvironment{
"local_name": "7zip-bin",
"alias": false,
"peer_metadata": null
} | ^5.2.0 | runtime |
iconv-liteEnvironment{
"local_name": "iconv-lite",
"alias": false,
"peer_metadata": null
} | ^0.7.3 | runtime |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^26.1.2 | development |
@types/split2Environment{
"local_name": "@types/split2",
"alias": false,
"peer_metadata": null
} | ^4.2.3 | development |
@build-script/baseline-rigEnvironment{
"local_name": "@build-script/baseline-rig",
"alias": false,
"peer_metadata": null
} | latest | development |
Source distribution
{
"shasum": "e944a9efec7451380b87f14091be031f008de57c",
"tarball": "https://registry.npmjs.org/7zip-bin-wrapper/-/7zip-bin-wrapper-1.0.59.tgz",
"fileCount": 20,
"integrity": "sha512-kqWfy7IDPQc2Fj5iMZfFnSbgFv6ZobojdctVkU8/7yMNvxxeGuyMmTTcxedO2WUVoqmytNEl5yKKDLEIy1Jikw==",
"signatures": [
{
"sig": "MEUCIAtMY1/RLjls4I7WqudKse39GCF8d0fFXwEM6BG+Gor+AiEA34qudy9XAMC9/rIhjPkpPcepv8HFqXVUnRdYpg47TJ0=",
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
},
{
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
"sig": "MEYCIQDbpBFRqdY1peTyHkbVtcTDg2PRcZNr9CQXZV1jeV6ezwIhAPFZSWYp/cdE+O6AIXRILA2MznfTLMdqUBm3RcrPf9s9"
}
],
"attestations": {
"url": "https://registry.npmjs.org/-/npm/v1/attestations/7zip-bin-wrapper@1.0.59",
"provenance": {
"predicateType": "https://slsa.dev/provenance/v1"
}
},
"unpackedSize": 34981
}Observed since 20 Oct, 21:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f72a2452ee575883c64f3a39b0dfa847514477700f4e6d795626685bf514c68a