Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.12 KB

modules.md

File metadata and controls

50 lines (27 loc) · 1.12 KB

sugiero / Exports

sugiero

Table of contents

Type aliases

Functions

Type aliases

SearchProviderType

Ƭ SearchProviderType: "Brave" | "DuckDuckGo" | "Google" | "Qwant" | "Startpage" | "Swisscows" | "Yahoo" | "YouTube" | "random"

Defined in

index.ts:11

Functions

getSuggestions

getSuggestions(partialSearch, searchProvider?): Promise<Suggestion[]>

Gets search suggestions for a partial search

export

Parameters

Name Type Default value Description
partialSearch string undefined The term to search suggestions for
searchProvider SearchProviderType 'Google'

Returns

Promise<Suggestion[]>

The suggested searches

Defined in

index.ts:21