SerenityJS
Preparing search index...
@serenityjs/core
Zip
Class Zip
Index
Constructors
constructor
Properties
dir
Path
Methods
compress
Pack
get
Pack
Size
Constructors
constructor
new
Zip
(
dirPath
:
string
)
:
Zip
Parameters
dirPath
:
string
Returns
Zip
Properties
Readonly
dir
Path
dirPath
:
string
Methods
compress
Pack
compressPack
()
:
{
data
:
Buffer
;
originalSize
:
bigint
}
Compresses the pack and returns the buffer.
Returns
{
data
:
Buffer
;
originalSize
:
bigint
}
get
Pack
Size
getPackSize
()
:
bigint
Returns
bigint
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
dir
Path
Methods
compress
Pack
get
Pack
Size
SerenityJS
Loading...
Compresses the pack and returns the buffer.