Current collected state Current
Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
搭配 [node-7z](https://www.npmjs.com/package/node-7z) 使用
搭配 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.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:b3f9ca2c6e87e9d34259df176090b8eecb38f2461a19377cace496dadedbaec3