npm license check before install
payload402.edgebytenet.workers.dev/license/check
npm license check before install — call immediately before npm install, yarn add, or pnpm add. Returns npm-declared license, SPDX id, and permissive-default compatible (yes | no | unknown) so the agent can proceed, swap package, or escalate. Not SBOM, not legal advice. Free taste: GET /license/check/preview (same JSON, $0), then pay GET /license/check or MCP check_npm_license for the package you w
GET
https://payload402.edgebytenet.workers.dev/license/checkUptime100% 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://payload402.edgebytenet.workers.dev/license/check?package=lodash&version=4.17.21");
console.log(await res.json());Example input
{
"package": "lodash",
"version": "4.17.21"
}More from payload402
- payload402.edgebytenet.workers.dev/convertConvert amounts between ISO 4217 currencies using ECB daily reference rates (Frankfurter). Use for invoices, travel budgets, expense reports, and shopping comparisons when you need a verifiable rate instead of LLM arithmetic. Not live tradable FX — rates follow ECB business-day publication.0.001
- payload402.edgebytenet.workers.dev/license/lockfilepackage-lock.json license batch triage — coding-agent merge gate. Pass top-level lockfile packages as name@version (max 20). Returns per-package SPDX + permissive-default compatible, rollup counts, and overall yes|no|unknown. Not a compliance SBOM. Free taste: GET /license/lockfile/preview (max 2), then pay GET /license/lockfile for the full list. Single package: GET /license/check.0.02
- payload402.edgebytenet.workers.dev/wiki/lookupEnglish Wikipedia fact lookup: search by query or exact title, returns intro extract as plain text. For agents that need a grounded summary before deeper web search. Not a substitute for primary sources.0.001
