Function: normalizeDetectorId()
function normalizeDetectorId(entry, hostPkg): string | null;
Defined in: registry.ts:38
Normalize a detector reference (short or full) to a canonical package id by checking the host's dependencies. Returns null if no candidate is installed.
Parameters
| Parameter | Type |
|---|---|
entry |
string |
hostPkg |
PackageJson |
Returns
string | null