Skip to main content

YouTubeOptions

popyt


popyt / Library Exports / YouTubeOptions

Type Alias: YouTubeOptions

YouTubeOptions = object

Defined in: index.ts:435

Properties​

cache?​

optional cache?: boolean

Defined in: index.ts:439

Whether or not to cache entities.


cacheCheckInterval?​

optional cacheCheckInterval?: number

Defined in: index.ts:449

How often to check for and delete expired cached items in seconds.


cacheSearches?​

optional cacheSearches?: boolean

Defined in: index.ts:454

Whether or not we should cache searches


cacheTTL?​

optional cacheTTL?: number

Defined in: index.ts:444

How long to cache entities in seconds (0 = unlimited).


request?​

optional request?: Request

Defined in: index.ts:459

A custom internal request object to use instead of the default one.