← Back to directory

Walk the production dependency tree of an npm package, collect SPDX licenses and...

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

Overview

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 copyleft, strong copyleft, network copyleft or unknown.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider code
Source bazaar
Indexed 2026-11-20 13:10:04

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "name": "express", "target_license": "proprietary", "version": "4.21.2" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "result": { "conditions": 0, "conflicts": [], "packages": [ { "class": "permissive", "depth": 0, "license": "MIT", "name": "express", "reason": "Keep license notices.", "verdict": "ok", "version": "4.21.2" }, { "class": "permissive", "depth": 1, "license": "BSD-3-Clause", "name": "qs", "reason": "Keep license notices.", "verdict": "ok", "version": "6.13.0" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "depd", "reason": "Keep license notices.", "verdict": "ok", "version": "2.0.0" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "etag", "reason": "Keep license notices.", "verdict": "ok", "version": "1.8.1" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "send", "reason": "Keep license notices.", "verdict": "ok", "version": "0.19.0" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "vary", "reason": "Keep license notices.", "verdict": "ok", "version": "1.1.2" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "debug", "reason": "Keep license notices.", "verdict": "ok", "version": "2.6.9" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "fresh", "reason": "Keep license notices.", "verdict": "ok", "version": "0.5.2" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "cookie", "reason": "Keep license notices.", "verdict": "ok", "version": "0.7.1" }, { "class": "permissive", "depth": 1, "license": "MIT", "name": "accepts", "reason": "Keep license notices.", "verdict": "ok", "version": "1.3.8" } ], "root": "express@4.21.2", "target_license": "proprietary", "truncated": true }, "service": "license-compat-tree", "status": "success" }, "type": "json" }