{"uid":"cap_dzYuKpwKfdHJcB_QBSobg","slug":"joi-npm-install-lifecycle-hooks-1da03371","name":"joi npm Install Lifecycle Hooks","description":"joi Install lifecycle hooks: Install lifecycle hooks for npm package joi. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-joi-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"joi","maxLength":150},"version":{"type":"string","maxLength":100}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sfjFEMv1LE_1nPPOA0RyI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves install lifecycle hook metadata from the npm registry for the joi validation package, supporting integration and upgrade planning.","exampleAgentPrompt":"Can you pull the install lifecycle hooks for the joi npm package — I want to see what scripts run during installation before I add it to our project?","exampleUseCases":[{"title":"Pre-install security audit of joi","prompt":"Before we add joi to our Node.js app, can you fetch its install lifecycle hooks from the npm registry so I can check if there are any postinstall scripts we should be aware of?"},{"title":"Upgrade planning for joi version","prompt":"I'm planning to upgrade joi to version 17.9.0 — can you retrieve the install lifecycle hook metadata for that specific version so I can compare it against what we're running now?"},{"title":"Automated dependency integration check","prompt":"As part of our CI pipeline review, fetch the npm registry lifecycle hook info for joi so we can document what runs at install time for compliance purposes."}],"resultDescription":"Returns npm registry metadata detailing the install lifecycle hooks (e.g. preinstall, install, postinstall scripts) associated with the joi package and optionally a specific version, useful for integration planning, security review, and upgrade assessment.","failureModes":["Invalid or non-existent package version returns an error or empty result","Network timeout if npm registry is slow or unavailable","Malformed package name (exceeding 150 characters) rejected by input validation","Package with no lifecycle hooks returns empty hooks object","Rate limiting or payment failure ($0.01 USDC) blocks the request"],"whenToPreferThis":"Choose this endpoint when you specifically need to inspect the install-time lifecycle scripts and hooks of the joi npm package before integrating or upgrading it, especially for security audits, compliance checks, or automated CI pipelines that need to verify what runs at installation time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:47:59.459Z","isFirstParty":false,"canonicalSlug":"joi-npm-install-lifecycle-hooks-1da03371"}