youtubei.js / Types / ICache
Interface: ICache
Properties
cache_dir
cache_dir:
string
Defined in
Methods
get()
get(
key
):Promise
<undefined
|ArrayBuffer
>
Parameters
• key: string
Returns
Promise
<undefined
| ArrayBuffer
>
Defined in
remove()
remove(
key
):Promise
<void
>
Parameters
• key: string
Returns
Promise
<void
>
Defined in
set()
set(
key
,value
):Promise
<void
>
Parameters
• key: string
• value: ArrayBuffer
Returns
Promise
<void
>