{"uid":"cap_ngkvPnzQoHzbVoIzhDZw6","slug":"astro-install-lifecycle-hooks-344f67db","name":"astro Install Lifecycle Hooks","description":"astro Install lifecycle hooks: Install lifecycle hooks for npm package astro. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-astro-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"astro","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_1iBzO6aSU8_ua1SV3p3Gr","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 npm registry install lifecycle hook metadata for the astro package, useful for integration planning and upgrade analysis.","exampleAgentPrompt":"Can you look up the install lifecycle hooks for the astro npm package — I want to see what scripts run during install before I add it to our project?","exampleUseCases":[{"title":"Security audit before adding astro","prompt":"Before we add astro to our monorepo, can you pull up its npm install lifecycle hooks so I can review what scripts it runs during installation?"},{"title":"Upgrade planning for astro version","prompt":"We're planning to upgrade to astro version 4.2.0 — can you fetch the install lifecycle hooks for that specific version so I can check for any changes?"},{"title":"CI pipeline integration check","prompt":"I need to know what postinstall or preinstall hooks the astro package registers in the npm registry — can you grab that metadata for me so I can account for it in our CI setup?"}],"resultDescription":"Returns npm registry metadata for the astro package's install lifecycle hooks, including preinstall, postinstall, and related script entries, suitable for integration auditing and upgrade planning. The package name and version can be overridden to inspect specific releases.","failureModes":["Package version not found in npm registry — returns 404 or empty result","Invalid package name format — rejected by schema validation","npm registry temporarily unavailable — upstream timeout or error","Payment of $0.01 USDC not processed — request blocked before execution"],"whenToPreferThis":"Use this endpoint when you need to specifically inspect install lifecycle hooks (preinstall, postinstall, install scripts) for the astro npm package or a compatible package override. Prefer this over general npm registry APIs when you want a focused, pre-structured response about lifecycle hooks specifically, without parsing full package.json metadata yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T12:51:37.250Z","isFirstParty":false,"canonicalSlug":"astro-install-lifecycle-hooks-344f67db"}