{"uid":"cap_1t_oWGQO75-eZ6_ZQ7SW9","slug":"vite-install-lifecycle-hooks-64eea13b","name":"vite Install Lifecycle Hooks","description":"vite Install lifecycle hooks: Install lifecycle hooks for npm package vite. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-vite-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"vite","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_wNsD3n1pM_vSCkzarNsRI","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 vite package, useful for integration and upgrade planning.","exampleAgentPrompt":"What install lifecycle hooks does vite run on npm install? Check the registry metadata for vite version 5.2.0 so I can audit it before adding it to our project.","exampleUseCases":[{"title":"Security audit before adding dependency","prompt":"Before I add vite to our monorepo, can you check what install lifecycle hooks it runs? I want to make sure there are no unexpected postinstall scripts in version 5.4.0."},{"title":"Upgrade planning for vite major version","prompt":"I'm planning to upgrade vite from v4 to v5. Can you pull the install lifecycle hooks for vite version 5.0.0 so I can see if anything changed in the install scripts that might break our CI pipeline?"},{"title":"Comparing install behavior across versions","prompt":"Does vite 4.5.0 have any preinstall or postinstall hooks? Fetch the install lifecycle metadata so I can compare it with what we're seeing in our current setup."}],"resultDescription":"Returns npm registry metadata for the vite package focused on install lifecycle hooks, including preinstall, install, and postinstall script definitions, along with relevant registry fields useful for integration and upgrade planning. The response reflects the specified version or defaults to vite if no version override is provided.","failureModes":["Package version not found in registry — returns 404 or empty result","Invalid package name or version string — returns validation error","npm registry unreachable or rate-limited — returns upstream error","No lifecycle hooks defined for the package — returns empty hooks object"],"whenToPreferThis":"Use this endpoint when you need to inspect install-time lifecycle scripts for the vite npm package specifically, especially for security audits, CI/CD integration planning, or pre-upgrade checks. Prefer this over a generic npm registry API call when you want pre-parsed, structured lifecycle hook data without having to parse raw package.json manifests yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:32.994Z","isFirstParty":false,"canonicalSlug":"vite-install-lifecycle-hooks-64eea13b"}