Paketwerk
runtime compat
Normalises what a package version declares about where it can run. For npm that is the engines, os and cpu fields plus the declared package type and whether native build scripts are present; for PyPI it is requires_python together with the operating system, implementation and Python version classifiers.
POST https://paket.halowerk.com/v1/runtime-compatEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| system | string | Ja | Only npm and PyPI declare these fields machine-readably. |
| name | string | Ja | |
| version | string | Nein | Defaults to the latest version. |
| target_runtime | string | Nein | Your runtime version, e.g. 20.11.1 for Node or 3.11 for Python. |
| target_os | string | Nein | linux, darwin, win32 … |
| target_arch | string | Nein | x64, arm64 … |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"system",
"name"
],
"additionalProperties": false,
"properties": {
"system": {
"type": "string",
"enum": [
"npm",
"pypi"
],
"description": "Only npm and PyPI declare these fields machine-readably."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"version": {
"type": "string",
"maxLength": 60,
"description": "Defaults to the latest version."
},
"target_runtime": {
"type": "string",
"maxLength": 40,
"description": "Your runtime version, e.g. 20.11.1 for Node or 3.11 for Python."
},
"target_os": {
"type": "string",
"maxLength": 30,
"description": "linux, darwin, win32 …"
},
"target_arch": {
"type": "string",
"maxLength": 20,
"description": "x64, arm64 …"
}
}
}Veröffentlichtes Eingabebeispiel
{
"system": "npm",
"name": "express",
"version": "4.18.2",
"target_runtime": "20.11.1",
"target_os": "linux"
}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