mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
22 lines
410 B
Markdown
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/eb21af33db708f0355f4fb15881f5d4fabc7b06c/src/utils/LZW.ts#L5)
|