{"uid":"cap_dHnluWNYCwGJ2bM9L5yFv","slug":"knex-npm-install-lifecycle-hooks-6a3ff740","name":"knex NPM Install Lifecycle Hooks","description":"knex Install lifecycle hooks: Install lifecycle hooks for npm package knex. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.","url":"https://market.datapackvibe.com/x402/signal-npm-knex-install-hooks?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","default":"knex","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_Gy-dyeupgW9tCZZ33ZDeM","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 from the npm registry for the knex package to support integration and upgrade planning.","exampleAgentPrompt":"Can you check the npm install lifecycle hooks for the knex package — specifically what preinstall or postinstall scripts it defines — so I can review them before adding it as a dependency?","exampleUseCases":[{"title":"Security audit before adding dependency","prompt":"Before we add knex to our project, can you pull its npm install lifecycle hooks so we can check if it runs any scripts at install time that might be a security concern?"},{"title":"Upgrade planning for specific version","prompt":"We're planning to upgrade knex to version 2.5.0 — can you fetch the install lifecycle hooks for that specific version so we know if anything changed that could affect our CI pipeline?"},{"title":"Automated dependency compliance check","prompt":"As part of our package approval process, grab the install hooks metadata from the npm registry for knex so I can log them in our compliance report."}],"resultDescription":"Returns npm registry metadata for the knex package including any defined install lifecycle hooks (preinstall, install, postinstall scripts), version information, and related integration metadata useful for planning upgrades or auditing dependencies.","failureModes":["Package version not found in registry — returns error if specified version does not exist","npm registry unavailable — upstream timeout or connectivity issue","Invalid package name or version string — validation error returned","Rate limiting from npm registry — upstream throttling"],"whenToPreferThis":"Use this endpoint when you need to programmatically inspect the lifecycle hooks of the knex npm package before integrating or upgrading, particularly in automated dependency auditing, CI/CD pipelines, or agent-driven package compliance workflows. Prefer this over manually querying the npm registry when you want a structured, pay-per-call API response without managing registry authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:36.119Z","isFirstParty":false,"canonicalSlug":"knex-npm-install-lifecycle-hooks-6a3ff740"}