Skip to main content

Zip Component

Provides utility methods for working with zip files

Component key: zip

Description

The Zip component helps with handling and manipulating .zip files.

Actions

Compress Gzip

Compress Gzip file | key: compressGzip


Decompress Gzip

Decompress Gzip file | key: decompressGzip


Unzip

Decompress a Zip file | key: unzip

Output Example Payload

{
"data": [
{
"name": "filename.txt",
"data": {
"data": {
"type": "Buffer",
"data": [
104,
101,
108,
108,
111
]
},
"contentType": "text/plain"
},
"path": "path/"
}
]
}

Zip

Compress a Zip file | key: zip

Collection Tools has useful utilities for building up data to provide to the Zip action.

Output Example Payload

{
"data": {
"type": "Buffer",
"data": [
104,
101,
108,
108,
111
]
},
"contentType": "application/zip"
}