Skip to content

SearchOptions

Property Type Default value Description Inherited from
limit? number undefined Stops collecting at this many videos; a positive integer. ListOptions.limit
safeSearch? boolean undefined Asks YouTube for restricted-mode results. -
signal? AbortSignal undefined Aborting it cancels the lookup or download. ListOptions.signal
type? SearchType SearchType.Video Videos or playlists. -