Home > harper.js > packWeirpackFiles
Convert a Weirpack file system into a real Weirpack binary by compressing and serializing them into a byte array.
For clarity on what a Weirpack is, read [the Weir documentation.](https://writewithharper.com/docs/weir\#Weirpacks)
Signature:
export declare function packWeirpackFiles(files: Map<string, string>): Uint8Array;
|
Parameter |
Type |
Description |
|---|---|---|
|
files |
Map<string, string> |
Returns:
Uint8Array