Node.js
Zip Examples for Node.js
Getting Started
- Chilkat Zip API Concepts
- Zip
- Unzip
- Zip One File
- Unzip a .zip Archive
Creating Zip Archives
- Zip a Directory Tree
- Create Zip Excluding Files Matching Patterns
- Zip -- Exclude Files Based on Wildcard Matching
- Create Zip with utf-8 Filenames (Unicode filenames)
- Zip and Keep Open
- Zip Append Files and Entry Type
- .Z File Compression
Controlling Paths within a Zip
- Controlling paths within a Zip
- Controlling Paths of Files Added to Zip
- Modify Name of File Stored within Zip when Creating a .zip
- Another Path-in-Zip Example
- Change a Filename before Unzipping
Appending, Updating and Removing Files
- Append Dir Tree to Existing Zip w/out Rewriting Entire Zip
- Append Files to Existing Zip w/out Rewriting Entire Zip
- Remove a File from a .zip
- Replace/Update a FIle in a .zip
- Zip Append Files Verbose Logging
Unzipping
- Unzip Selected Files from a Zip Archive
- Unzip Files Matching a Pattern (such as *.xml)
- Unzip Some Files by Iterating over Entries
- Unzip all Files to a Single Directory (Ignoring Subdirectories in Zip)
Listing Entries
- List Files in a .zip
- List Files in Zip using FirstEntry/NextEntry
- List Files/Directories in Zip by Index
- Iterate over Matching Filenames
Encryption and Passwords
- Determine if a Zip is Encrypted or Password-Protected
- Create a WinZip compatible AES Encrypted Zip
- Open and Unzip an AES Encrypted Zip
- Create Password Protected Zip containing a Single File.
- Unzip an AES Encrypted Text File directly into a String Variable
- Unzip Encrypted Text into a String Variable
- Verify a Zip's Password
- Encrypt Already Existing Zip
- Creates an AES Encrypted Zip with One File Unencrypted
In-Memory Zips, Streams and Strings
- Create a Zip Entirely in Memory
- Create Zip in a BinData Object
- Download a Zip from a URL and OpenFromMemory. (No .zip fie is created)
- Unzip One File to a Stream
- Unzip Binary File to Stream
- Unzip Text File to String