chore(docs): Update API ref

This commit is contained in:
Luan
2024-11-22 04:25:16 -03:00
parent fc5571629e
commit 4e9d64404e
927 changed files with 26023 additions and 9839 deletions

View File

@@ -0,0 +1,23 @@
[youtubei.js](../../../README.md) / [Parser](../README.md) / parseCommand
# Function: parseCommand()
> **parseCommand**(`data`): [`YTNode`](../../Helpers/classes/YTNode.md) \| `undefined`
Parses an InnerTube command and returns a YTNode instance if applicable.
## Parameters
**data**: [`RawNode`](../../APIResponseTypes/type-aliases/RawNode.md)
The raw node data to parse
## Returns
[`YTNode`](../../Helpers/classes/YTNode.md) \| `undefined`
A YTNode instance if parsing is successful, undefined otherwise
## Defined in
[src/parser/parser.ts:638](https://github.com/LuanRT/YouTube.js/blob/fc5571629eca037af7de03f4b903da6add1f300b/src/parser/parser.ts#L638)