Skip to content

Latest commit

 

History

History

zip-step

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@shanzhai/zip-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which creates a zip file from a list of binary or UTF-8 encoded text files.

Usage

If within a trigger's event handler an instance of ZipStep similar to the following were to be returned:

new WriteFileStep(
  `A description of the operation being performed`,
  new ObjectOfDataToCompressInput(),
  new BufferContainingTheCreatedZipOutput()
);

If the file already exists, it will be overwritten.

If the file's parent directory does not exist, an error will occur.

Dependencies

This package has the following runtime dependencies:

Name Version
7zip-bin 5.1.1
uuid 8.3.2

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status