mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 11:32:27 +00:00
chore(docs): Update API ref
This commit is contained in:
23
docs/api/namespaces/Parser/functions/parseCommands.md
Normal file
23
docs/api/namespaces/Parser/functions/parseCommands.md
Normal file
@@ -0,0 +1,23 @@
|
||||
[youtubei.js](../../../README.md) / [Parser](../README.md) / parseCommands
|
||||
|
||||
# Function: parseCommands()
|
||||
|
||||
> **parseCommands**(`commands`?): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\>
|
||||
|
||||
Parses an array of InnerTube command nodes.
|
||||
|
||||
## Parameters
|
||||
|
||||
• **commands?**: [`RawNode`](../../APIResponseTypes/type-aliases/RawNode.md)[]
|
||||
|
||||
Array of raw command nodes to parse
|
||||
|
||||
## Returns
|
||||
|
||||
[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\>
|
||||
|
||||
An observed array of parsed YTNodes
|
||||
|
||||
## Defined in
|
||||
|
||||
[src/parser/parser.ts:674](https://github.com/LuanRT/YouTube.js/blob/fc5571629eca037af7de03f4b903da6add1f300b/src/parser/parser.ts#L674)
|
||||
Reference in New Issue
Block a user