New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

windows-zip

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

windows-zip

Zipping and unzipping on Windows

unpublished
latest
Source
npmnpm
Version
0.10.8
Version published
Maintainers
1
Created
Source

windows-zip

Zipping and unzipping on Windows

How was it made

Install

npm install windows-zip

Usage

zipSync

const { zipSync } = require('windows-zip');

const path = [
  '<path to the first source file or folder>',
  '<path to the second source file or folder>'
];

const dest = '<path and filename of the output zip file>';

zipSync(path, dest);

unzipSync

const { unzipSync } = require('windows-zip');

const path = '<path to the source zip file>';
const dest = '<path to the output folder>';

unzipSync(path, dest);

API

This package requires PowerShell 5+.

zipSync(path, dest)

Creates a compressed archive from specified files and directories (path) and save it to a .zip file at dest.

unzipSync(path, dest)

Extracts files from a specified achive file (path) to the dest directory.

Resources

Keywords

nodejs

FAQs

Package last updated on 30 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts