{"uid":"cap_E2GqXrwsMNZVpVsxKIWEc","slug":"npm-package-health-inspector-54ffe2ab","name":"NPM Package Health Inspector","description":"Inspect current public npm registry metadata for release freshness, deprecation, license, repository, dependencies, maintainers, integrity, and install lifecycle scripts.","url":"https://holder-victor-nova-mag.trycloudflare.com/x402/npm-package-health","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["package"],"properties":{"package":{"type":"string","description":"Public scoped or unscoped npm package name."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VmwcTSjwdeu24mhzwc9uC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and returns current public npm registry metadata for a given package, covering release freshness, deprecation status, license, repository, dependencies, maintainers, integrity hashes, and install lifecycle scripts.","exampleAgentPrompt":"Can you check the npm package health for 'left-pad' — I want to know if it's deprecated, how fresh the latest release is, what license it uses, who maintains it, and whether it runs any install lifecycle scripts?","exampleUseCases":null,"resultDescription":"Returns structured npm registry metadata for the requested package including: latest release date and version (freshness), deprecation flag and message if any, SPDX license identifier, repository URL, full dependency list, list of maintainers, package integrity hash, and any preinstall/install/postinstall lifecycle scripts defined in the package manifest.","failureModes":["Package not found on npm registry — returns 404 or empty result","Scoped package name not URL-encoded correctly — may return error","npm registry temporarily unavailable — upstream timeout or 5xx error","Invalid package name format — schema validation error on 'package' param"],"whenToPreferThis":"Use this endpoint when you need a quick, structured health snapshot of a public npm package — especially for auditing deprecation, license compliance, install script safety, or release freshness — without needing to parse raw npm registry JSON yourself. Prefer it over direct npm registry calls when you want a curated, bounded response focused on security and maintenance signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:26:06.923Z","isFirstParty":false}