API: ranking/domainScore
better-web-search-mcp / ranking/domainScore
ranking/domainScore#
Functions#
domainScore()#
domainScore(
urlOrHost):number
Defined in: src/ranking/domainScore.ts:76
Score a hostname against the curated tiers using suffix matching.
Accepts either a full URL or a bare hostname. Returns a value in [0, 1].
Parameters#
| Parameter | Type |
|---|---|
urlOrHost | string |
Returns#
number