{"uid":"cap_2CSvGmXp8wids7zeZjtlS","slug":"ws-npm-package-install-lifecycle-hooks-810be9ce","name":"ws npm Package Install Lifecycle Hooks","description":"ws Install lifecycle hooks: Install lifecycle hooks for npm package ws. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-ws-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"ws","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_3ttAbMjozOHnmtotLBSOH","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":"Fetches install lifecycle hook metadata for the npm package 'ws' (or a specified package/version) to support integration and upgrade planning.","exampleAgentPrompt":"Can you fetch the install lifecycle hooks for the ws npm package so I can review what scripts run on install before I add it to my project?","exampleUseCases":[{"title":"Pre-upgrade dependency audit","prompt":"I'm about to upgrade the ws package in our Node.js app — can you pull the install lifecycle hooks for ws version 8.17.0 so I can see if anything changed before I merge?"},{"title":"Security review of install scripts","prompt":"We need to audit what lifecycle scripts run when you install the ws npm package — can you fetch the install hooks metadata so our security team can review it?"},{"title":"New project dependency onboarding","prompt":"Before we add ws to our new project, can you check its install lifecycle hooks in the npm registry so we know what will execute during npm install?"}],"resultDescription":"Returns npm registry metadata for the specified package (default: 'ws'), including install lifecycle hook definitions such as preinstall, install, and postinstall scripts, along with version-specific integration details useful for upgrade planning and dependency auditing.","failureModes":["Package name not found in npm registry — returns 404 or empty result","Invalid version string causes lookup failure","Rate limiting or payment failure returns 402 or 429","Malformed package name exceeding 150 characters causes validation error"],"whenToPreferThis":"Use this endpoint when you need programmatic access to npm install lifecycle hook metadata for the 'ws' package or any other npm package, particularly for integration planning, upgrade safety checks, or security auditing of install-time scripts. Prefer this over manual npm registry lookups when automating dependency review workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:23.448Z","isFirstParty":false,"canonicalSlug":"ws-npm-package-install-lifecycle-hooks-810be9ce"}