Files
YouTube.js/docs/api/namespaces/LZW/functions/compress.md
2025-07-22 16:53:42 -03:00

22 lines
410 B
Markdown

[youtubei.js](../../../README.md) / [LZW](../README.md) / compress
# Function: compress()
> **compress**(`input`): `string`
Compresses a string using the LZW compression algorithm.
## Parameters
**input**: `string`
The data to compress.
## Returns
`string`
## Defined in
[src/utils/LZW.ts:5](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/utils/LZW.ts#L5)