Current collected state Current
Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
7z-win
7zip-win
搭配 node-7z 使用
import { extractFull, Data } from 'node-7z'
import { path7za } from '7z-win'
public static unzip(source: string, target: string): Promise<Data[]> {
return new Promise(async (resolve, reject) => {
let files: Data[] = []
const myStream = extractFull(source, target, {
$bin: path7za,
charset: 'utf-8'
})
myStream.on('data', function (data) {
files.push(data)
})
myStream.on('error', (err) => {
reject(err)
})
myStream.on('end', function () {
resolve(files)
})
})
}
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^20.1.4 | development |
Source distribution
{
"integrity": "sha512-wkFa+/ZMl5CvONQaLOU1tmZpeDHCUkfvrDy8LnPYL9/K6wB9scInGWBUpioUvRRwJvz8nI+bUbZX7BM0+AXV8g==",
"shasum": "d5fe5ef9f6030e938aa844699547b50c2ff9af78",
"tarball": "https://registry.npmjs.org/7z-win/-/7z-win-1.0.4.tgz",
"fileCount": 5,
"unpackedSize": 2576171,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEQCICmiGab5PIS3d3hbtJ7BdMgWH7LzrWf+/ROkRtb9GXTtAiBmO3oHxyamvpJO9zIsXySU3hgnTJkd9FMTHhDiokTfHQ=="
}
]
}Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:253c312ccb6c706d33679c3bb0989202dd698afdb90b9b0c2b684208533cbe65