mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-18 20:12:12 +00:00
* chore(deps): Add `meriyah` * feat(utils): Implement AST-based JS extractors * chore(utils): Remove old ast walker code * fix(Player): Migrate js extraction logic * chore(JsExtractor): Fix typo in tsdoc * perf(JsAnalyzer): Simplify main AST analysis logic * fix(JsAnalyzer): Change `break` to `return` in AST matching logic * chore: Update docs * chore: Don't export `PlayerInitializationOptions` * chore(evaluate): Update error message to include doc link * perf: Use a `for-loop` to find iife
45 lines
1.3 KiB
Markdown
45 lines
1.3 KiB
Markdown
[youtubei.js](../../README.md) / Utils
|
|
|
|
# Utils
|
|
|
|
## Index
|
|
|
|
### Classes
|
|
|
|
- [ChannelError](classes/ChannelError.md)
|
|
- [InnertubeError](classes/InnertubeError.md)
|
|
- [MissingParamError](classes/MissingParamError.md)
|
|
- [OAuth2Error](classes/OAuth2Error.md)
|
|
- [ParsingError](classes/ParsingError.md)
|
|
- [PlayerError](classes/PlayerError.md)
|
|
- [SessionError](classes/SessionError.md)
|
|
|
|
### Type Aliases
|
|
|
|
- [DeviceCategory](type-aliases/DeviceCategory.md)
|
|
|
|
### Functions
|
|
|
|
- [base64ToU8](functions/base64ToU8.md)
|
|
- [concatMemos](functions/concatMemos.md)
|
|
- [debugFetch](functions/debugFetch.md)
|
|
- [deepCompare](functions/deepCompare.md)
|
|
- [escapeStringRegexp](functions/escapeStringRegexp.md)
|
|
- [generateRandomString](functions/generateRandomString.md)
|
|
- [generateSidAuth](functions/generateSidAuth.md)
|
|
- [getCookie](functions/getCookie.md)
|
|
- [getRandomUserAgent](functions/getRandomUserAgent.md)
|
|
- [getStringBetweenStrings](functions/getStringBetweenStrings.md)
|
|
- [hasKeys](functions/hasKeys.md)
|
|
- [isTextRun](functions/isTextRun.md)
|
|
- [streamToIterable](functions/streamToIterable.md)
|
|
- [throwIfMissing](functions/throwIfMissing.md)
|
|
- [timeToSeconds](functions/timeToSeconds.md)
|
|
- [u8ToBase64](functions/u8ToBase64.md)
|
|
|
|
## References
|
|
|
|
### Platform
|
|
|
|
Re-exports [Platform](../../classes/Platform.md)
|