Skip to content
HALOWERK

Depwerk

dependency cycle witnesses

Return directed dependency cycle witnesses from a supplied package graph.

POST https://dep.halowerk.com/v1/dependency-cycle-witnesses

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
nodesarrayYes
edgesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "nodes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64,
        "minLength": 1
      },
      "maxItems": 100,
      "minItems": 0
    },
    "edges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "to": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          }
        },
        "required": [
          "from",
          "to"
        ],
        "additionalProperties": false
      },
      "maxItems": 300,
      "minItems": 0
    }
  },
  "required": [
    "nodes",
    "edges"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "nodes": [
    "react",
    "scheduler"
  ],
  "edges": [
    {
      "from": "react",
      "to": "scheduler"
    },
    {
      "from": "scheduler",
      "to": "react"
    }
  ]
}

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 โ†’