Skip to content
Fourohtwo

Semantic version tools

saylorinnovations.com/api/dev/semver

Semantic version tools - compare two versions, check a version against an npm-style range such as ^1.2.0 or ~2.1, and compute the bumped next version

BaseAnswering
GEThttps://saylorinnovations.com/api/dev/semver

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://saylorinnovations.com/api/dev/semver?bump=minor&range=%5E1.2.0&version=1.4.2&compare_to=1.10.0");
console.log(await res.json());

Example input

{
  "bump": "minor",
  "range": "^1.2.0",
  "version": "1.4.2",
  "compare_to": "1.10.0"
}

More from Saylor Innovations Data Desk