YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Utils / getCookie

Function: getCookie()

getCookie(cookies, name, matchWholeName): string | undefined

Parameters

• cookies: string

• name: string

• matchWholeName: boolean = false

Returns

string | undefined

Defined in

src/utils/Utils.ts:262

Edit this page
Last Updated:: 6/8/25, 5:43 PM
Contributors: Luan