{"uid":"cap_s25JpJwXC49d4iIpPKRgb","slug":"react-npm-package-install-lifecycle-hooks-lookup-56713c3b","name":"React NPM Package Install Lifecycle Hooks Lookup","description":"react Install lifecycle hooks: Install lifecycle hooks for npm package react. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-react-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"react","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_z9uIyHOmGoTnCtDs1EpnU","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 react package (or any specified package/version) to support integration and upgrade planning.","exampleAgentPrompt":"Can you pull the install lifecycle hooks for the react npm package at version 18.2.0 so I can see what scripts run during installation before I add it to our project?","exampleUseCases":[{"title":"Upgrade planning for React dependency","prompt":"We're planning to upgrade react from version 17 to 18 in our monorepo — can you check what install lifecycle hooks react 18 runs so we know if anything will execute on our CI machines during npm install?"},{"title":"Security audit of npm install scripts","prompt":"I need to audit the react npm package for any pre-install or post-install scripts that execute during installation — can you fetch the install lifecycle hooks for the latest version of react?"},{"title":"Integration check before onboarding new package","prompt":"Before we add react to our internal approved package list, can you look up its npm install lifecycle hooks so I can document what the package does during installation?"}],"resultDescription":"Returns npm registry metadata for the specified package and version, including any defined install lifecycle hooks such as preinstall, install, and postinstall scripts, enabling developers to understand what code executes during npm install operations.","failureModes":["Package name not found in npm registry — returns error or empty result","Specified version does not exist for the package — version lookup failure","npm registry unavailable or rate-limited — upstream fetch failure","Malformed package name exceeding maxLength of 150 characters — validation error","Malformed version string exceeding maxLength of 100 characters — validation error"],"whenToPreferThis":"Use this endpoint when you need to quickly inspect npm install lifecycle hooks for the react package (or another npm package) without manually querying the npm registry. It is especially useful for upgrade planning, security auditing of install-time scripts, and CI/CD pipeline risk assessment. Prefer this over manually querying the npm registry when you need structured, parsed metadata delivered programmatically in an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:30.024Z","isFirstParty":false,"canonicalSlug":"react-npm-package-install-lifecycle-hooks-lookup-56713c3b"}