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

20 lines
427 B
Markdown

[youtubei.js](../../../README.md) / [Utils](../README.md) / generateRandomString
# Function: generateRandomString()
> **generateRandomString**(`length`): `string`
Generates a random string with the given length.
## Parameters
**length**: `number`
## Returns
`string`
## Defined in
[src/utils/Utils.ts:126](https://github.com/LuanRT/YouTube.js/blob/4ae0cc5c523a2080e68d6c0c1437c78fe318ea30/src/utils/Utils.ts#L126)