78trust / 100
Npm Install Preflight
by Agent Miner Tools in Weather & location
x402 APIPassing, checked 2 h ago
Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target Node version (real SemVer evaluation), license, days since release, best-effort weekly downloads, repository URL and maintainer count. Facts only — no safety, trust, or malware verdict.
POST https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 415 ms typical, 573 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight" \
-H "content-type: application/json" \
-d '{"nodeVersion":"22.14.0","packageName":"zod"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent-api-production.tim1712.workers.dev%2Fv1%2Fnpm%2Finstall-preflight
const res = await pay("https://agent-api-production.tim1712.workers.dev/v1/npm/install-preflight", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"nodeVersion":"22.14.0","packageName":"zod"}),
});
console.log(await res.json());Example input
{
"nodeVersion": "22.14.0",
"packageName": "zod"
}Example output
{
"checkedAt": "2026-08-30T10:00:02.000Z",
"daysSinceRelease": 12,
"deprecated": false,
"deprecationMessage": null,
"enginesNode": ">=18",
"found": true,
"homepage": "https://zod.dev",
"latestIsPrerelease": false,
"latestVersion": "3.24.1",
"license": "MIT",
"maintainerCount": 2,
"nodeCompatible": true,
"packageName": "zod",
"publishedAt": "2026-01-15T09:12:00.000Z",
"repositoryUrl": "https://github.com/colinhacks/zod",
"requestedNodeVersion": "22.14.0",
"source": "npm",
"warnings": [],
"weeklyDownloads": 23456789
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 311 ms | $0.005 |
| 5 h ago | Passed | 402 | 324 ms | $0.005 |
| 9 h ago | Passed | 402 | 549 ms | $0.005 |
| 12 h ago | Passed | 402 | 435 ms | $0.005 |
| 16 h ago | Passed | 402 | 424 ms | $0.005 |
| 20 h ago | Passed | 402 | 415 ms | $0.005 |
| 23 h ago | Passed | 402 | 360 ms | $0.005 |
| 28 h ago | Passed | 402 | 325 ms | $0.005 |
| 31 h ago | Passed | 402 | 265 ms | $0.005 |
| 34 h ago | Passed | 402 | 579 ms | $0.005 |
| 39 h ago | Passed | 402 | 573 ms | $0.005 |