Skip to content
HALOWERK

Package and Supply Chain Security

npm stable range shortlist

Npm version resolution returns the newest non-deprecated stable releases satisfying a semver range. Use it when an agent needs installable candidates for a version policy.

POST https://paket.halowerk.com/v1/npm-stable-range-shortlist

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pkgstringYes
editionSee schemaNo
rangestringNo
limitintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "pkg": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
    },
    "edition": {
      "enum": [
        "2026-11-19"
      ]
    },
    "range": {
      "type": "string",
      "maxLength": 90,
      "minLength": 1
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "pkg"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pkg": "semver",
  "edition": "2026-11-19",
  "range": "^7.0.0",
  "limit": 2
}

Result & documentation

Show published result schema
{
  "$ref": "https://paket.halowerk.com/v1/npm-stable-range-shortlist/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 โ†’