Skip to content
HALOWERK

Package and Supply Chain Security

npm channel to stable distance

Npm release distance counts stable published versions ahead of a selected distribution tag. Use it when an agent needs the lag of a named release channel.

POST https://paket.halowerk.com/v1/npm-channel-to-stable-distance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pkgstringYes
editionSee schemaNo
tagstringNo
Show full input schema
{
  "type": "object",
  "properties": {
    "pkg": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
    },
    "edition": {
      "enum": [
        "2026-11-19"
      ]
    },
    "tag": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1
    }
  },
  "required": [
    "pkg"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pkg": "semver",
  "edition": "2026-11-19",
  "tag": "legacy"
}

Result & documentation

Show published result schema
{
  "$ref": "https://paket.halowerk.com/v1/npm-channel-to-stable-distance/schema#/outputSchema"
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub โ†’