Skip to content
HALOWERK

Paketwerk

npm peer range intersection

Return a concrete stable version satisfying every supplied npm peer range, or an empty intersection. Supplied data only; bounded local calculation. No network lookup or external action.

POST https://paket.halowerk.com/v1/npm-peer-range-intersection

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
rangesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "ranges": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 128,
        "minLength": 1
      },
      "maxItems": 5,
      "minItems": 1
    }
  },
  "required": [
    "ranges"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "ranges": [
    "^8.0.0",
    ">=8.17.0 <9"
  ]
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub โ†’