Skip to content
HALOWERK

Package and Supply Chain Security

npm public exports condition trace

Package exports return the matching condition chain and target for one exact public entry. Use it when an agent needs ordered condition selection.

POST https://paket.halowerk.com/v1/npm-public-exports-condition-trace

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringNo
manifestobjectNo
subpathstringNo
conditionsarrayNo
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 150,
      "minLength": 1
    },
    "manifest": {
      "type": "object",
      "required": [
        "exports"
      ],
      "properties": {
        "exports": {}
      },
      "additionalProperties": true
    },
    "subpath": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 60,
        "minLength": 1
      },
      "maxItems": 12
    }
  },
  "required": [],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "viem"
}

Result & documentation

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