Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

7z-win

7zip-win

7z7zip
Published15 May 2023
Direct dependencies1
Transitive dependenciesNot calculated

README

Current package documentation

7z-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)
        })

    })
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.1.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-AjoN5w2KfdmvUgmZNyqv6dGH7nMNx+Kfjwh5G3VqO8AsY5SpGnavoQoeX9VzSkHDn0ZS+wdW7b/Sut0ZJjazCQ==",
  "shasum": "be39db74a12b541f2a39be1e9b1786aa88630dfd",
  "tarball": "https://registry.npmjs.org/7z-win/-/7z-win-1.0.2.tgz",
  "fileCount": 6,
  "unpackedSize": 2576313,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQDu08eA03N7kxpcn+8e8FXPDUkUBGM5j3EkTIlIvxcNPwIgURRfyXTRiKJ42IzU6sHz/TPhh5ryC83i5jb4bHlAic4="
    }
  ]
}

Repository

PENDING
glossmod/7z-win

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:14 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f62e69b69a52005c36f339f7def87fed968fee5d24cffd08107374e3ebdba7e7

Other collected versions

1.0.715 May1.0.615 May1.0.515 May1.0.415 May1.0.315 May1.0.115 MayView all collected versions →