Skip to content
Fourohtwo

Normalises what a package version declares about where it can run

paket.halowerk.com/v1/runtime-compat

Normalises what a package version declares about where it can run. For npm that is the engines, os and cpu fields plus the declared package type and whether native build scripts are present; for PyPI it is requires_python together with the operating system, implementation and Python version classifiers.

BaseAnswering
POSThttps://paket.halowerk.com/v1/runtime-compat

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

// 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://paket.halowerk.com/v1/runtime-compat", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"name":"express","system":"npm","target_os":"linux","target_runtime":"20.11.1","version":"4.18.2"}),
});
console.log(await res.json());

Example input

{
  "name": "express",
  "system": "npm",
  "target_os": "linux",
  "target_runtime": "20.11.1",
  "version": "4.18.2"
}