Skip to content
Fourohtwo

code.halowerk.com/v1/license-compat-tree

Walk the production dependency tree of an npm package, collect SPDX licenses and flag those incompatible with your target license. Resolves the package version and its production dependencies breadth-first through the npm registry (semver ranges resolved to the highest matching published version, up to 80 packages), reads each declared SPDX license expression and classifies it as permissive, weak

BaseAnswering
POSThttps://code.halowerk.com/v1/license-compat-tree

Uptime100% 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://code.halowerk.com/v1/license-compat-tree", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"name":"express","target_license":"proprietary","version":"4.21.2"}),
});
console.log(await res.json());

Example input

{
  "name": "express",
  "target_license": "proprietary",
  "version": "4.21.2"
}