Zum Inhalt
HALOWERK

Depwerk

typosquat proximity

Ranks edit-distance proximity between a candidate name and supplied popular package names. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age.

POST https://dep.halowerk.com/v1/typosquat-proximity

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
candidatestringJa
popular_packagesarrayJa
thresholdintegerNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "candidate",
    "popular_packages"
  ],
  "additionalProperties": false,
  "properties": {
    "candidate": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": ""
    },
    "popular_packages": {
      "type": "array",
      "maxItems": 10000,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512,
        "description": ""
      }
    },
    "threshold": {
      "type": "integer",
      "minimum": 0,
      "maximum": 20,
      "description": ""
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "candidate": "expres",
  "popular_packages": [
    "express",
    "koa",
    "fastify"
  ],
  "threshold": 2
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://dep.halowerk.com/v1/typosquat-proximity/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →