Semver parse / compare / range check
mpp-utils.fmf-x402.workers.dev/code/semver
Semver parse / compare / range check — Parse versions, sort a list, test range satisfaction (npm ranges: ^, ~, x, ||, hyphen), find the max/min satisfying version, diff type (major/minor/patch) and coercion of loose strings like "v2.3". Price $0.001 per call.
GET
https://mpp-utils.fmf-x402.workers.dev/code/semverUptime100% of 5 checks 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://mpp-utils.fmf-x402.workers.dev/code/semver?range=%5E1.2.0");
console.log(await res.json());Example input
{
"range": "^1.2.0"
}