Skip to content
HALOWERK

Package and Supply Chain Security

npm channel maintenance line

npm maintenance line lookup returns the highest stable tagged version for a requested major and all of its labels. Use it when an agent needs pinning a supported release line.

POST https://paket.halowerk.com/v1/npm-channel-maintenance-line

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringYes
as_ofstringNo
majorintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 214,
      "pattern": "^\\s*(?:@[a-zA-Z0-9][a-zA-Z0-9._-]*/)?[a-zA-Z0-9][a-zA-Z0-9._-]*\\s*$"
    },
    "as_of": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    },
    "major": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    }
  },
  "required": [
    "package",
    "major"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "semver",
  "as_of": "2026-11-25",
  "major": 6
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’