paket.halowerk.com/v1/dependency-graph
Returns the resolved dependency graph of one package version across seven ecosystems: every node with its ecosystem, name, resolved version, whether it is bundled, and its depth from the root. Depth is computed as the shortest path from the root by breadth-first search — a depth-first walk loops forever on a cyclic graph and recursion overflows the stack on large trees, so neither is used.
POST
https://paket.halowerk.com/v1/dependency-graphUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://paket.halowerk.com/v1/dependency-graph", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"include_edges":true,"max_nodes":800,"name":"express","system":"npm","version":"4.18.2"}),
});
console.log(await res.json());Example input
{
"include_edges": true,
"max_nodes": 800,
"name": "express",
"system": "npm",
"version": "4.18.2"
}