{"uid":"cap_5-3kaXBsJkyZagdt04y2y","slug":"pg-npm-package-install-lifecycle-hooks-6a09a3ac","name":"pg npm Package Install Lifecycle Hooks","description":"pg Install lifecycle hooks: Install lifecycle hooks for npm package pg. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-pg-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"pg","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_wH3lKI8JVwnFhwks2XwqM","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 for the npm package 'pg' (PostgreSQL client), useful for integration and upgrade planning.","exampleAgentPrompt":"Can you check the install lifecycle hooks for the pg npm package — specifically what preinstall, install, and postinstall scripts it runs — so I can figure out if it's safe to add to our locked-down CI environment?","exampleUseCases":[{"title":"CI environment compatibility check","prompt":"Before we add pg to our CI pipeline, can you pull the install lifecycle hooks for the pg npm package so I can verify it doesn't try to run any native build scripts that would break in our restricted Docker environment?"},{"title":"Pre-upgrade hook change audit","prompt":"We're upgrading pg from version 8.7.0 to 8.11.0 — can you check the install lifecycle hooks for pg version 8.11.0 so I can see if anything changed in the postinstall step before we roll it out?"},{"title":"Security review of install-time scripts","prompt":"I'm doing a security review of our Node dependencies — can you look up what install hooks the pg package runs so I can document whether it executes any shell scripts or binary downloads at install time?"}],"resultDescription":"Returns install lifecycle hook metadata from the npm registry for the pg package, including preinstall, install, and postinstall script definitions, along with registry metadata relevant for integration planning and version upgrade decisions.","failureModes":["Package name not found in registry — returns error if an invalid package name is supplied","Version not found — if the specified version does not exist in the npm registry, the call may return an error or empty result","Registry unavailability — npm registry downtime could cause lookup failures","Payment failure — x402 payment of $0.01 USDC must succeed before the response is returned"],"whenToPreferThis":"Use this endpoint when you need to inspect what lifecycle scripts (preinstall, install, postinstall) the pg PostgreSQL npm client runs during installation, especially before adding it to a new environment, upgrading versions, or performing a security audit. Prefer this over manually querying the npm registry when you want structured, pre-parsed hook data with integration planning context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:48:31.960Z","isFirstParty":false,"canonicalSlug":"pg-npm-package-install-lifecycle-hooks-6a09a3ac"}