Catalog npm
Back to packageRELEASE DETAILS

1.0.5

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-EEJtLVTolJQq9eglb2EzJogSAQOZiHYExp9gNNHh9fR0TUi2Y+0U3bU5E1zyzQk+DuxgQK0Wa0Cx+WroM4YzRA==",
  "shasum": "fc8af32d6c7ff02cc61c9c15bb6058914716d26a",
  "tarball": "https://registry.npmjs.org/7z-win/-/7z-win-1.0.5.tgz",
  "fileCount": 7,
  "unpackedSize": 2576346,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIHdsF89gJPqlFfL22tm/SAM/1Zs7TVe/m32ess1wEDA2AiA6IMq/oR7sHfnw4Rxiz1wA0HR3VwPJc4src7z/Se7qKg=="
    }
  ]
}

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:a8a261b9a3d2e15476c5a200b5e4641d2adbe80fb4fe1a0c86c0a7134fc608ff

Other collected versions

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