Paketwerk
dependency graph
Returns the resolved dependency graph of one package version across seven ecosystems: every node with its ecosystem, name, resolved version, whether it is bundled, and its depth from the root. Depth is computed as the shortest path from the root by breadth-first search — a depth-first walk loops forever on a cyclic graph and recursion overflows the stack on large trees, so neither is used.
POST https://paket.halowerk.com/v1/dependency-graphEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| system | string | Ja | |
| name | string | Ja | |
| version | string | Nein | The version to resolve. Without it the registry default version is used. |
| max_nodes | integer | Nein | |
| include_edges | boolean | Nein |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"system",
"name"
],
"additionalProperties": false,
"properties": {
"system": {
"type": "string",
"enum": [
"npm",
"pypi",
"maven",
"go",
"cargo",
"nuget",
"rubygems"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"version": {
"type": "string",
"maxLength": 60,
"description": "The version to resolve. Without it the registry default version is used."
},
"max_nodes": {
"type": "integer",
"minimum": 10,
"maximum": 3000,
"default": 800
},
"include_edges": {
"type": "boolean",
"default": true
}
}
}Veröffentlichtes Eingabebeispiel
{
"system": "npm",
"name": "express",
"version": "4.18.2",
"max_nodes": 800,
"include_edges": true
}Ergebnis & Dokumentation
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Paketwerk0,003 USDC
artifact hash
POSThttps://paket.halowerk.com/v1/artifact-hashTakes a file digest and answers which released package version it is. Useful for an artefact found in a container layer, a build directory or an attachment with no metadata attached. Hex and base64 input are both accepted and normalised, th
- Paketwerk0,005 USDC
dependency bloat
POSThttps://paket.halowerk.com/v1/dependency-bloatScores how much a package costs to depend on, using the resolved graph rather than a guess. Four measurements: the number of transitive nodes, the maximum depth, how many packages appear at more than one version, and the fan-out of the root
- Paketwerk0,005 USDC
dependency confusion
POSThttps://paket.halowerk.com/v1/dependency-confusionTakes the names your organisation publishes internally and checks each against the public registry of the same ecosystem. Three findings, kept apart because they call for different actions. Name is free: nobody has taken it, the door is ope