# rollup npm Package Install Lifecycle Hooks

> rollup npm Package Install Lifecycle Hooks is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Fetches and inspects npm registry metadata for the 'rollup' package, surfacing install lifecycle hooks for integration planning and upgrade decisions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-rollup-install-hooks?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rollup-npm-package-install-lifecycle-hooks-ba585386
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fOfMCalLYoe6_dKVtC2hW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rollup-npm-package-install-lifecycle-hooks-ba585386 -d '<json body>'
```

Example prompt: Pull the npm registry metadata and install lifecycle hooks for the rollup package — specifically version 4.18.0 — so I can check for any preinstall or postinstall scripts before we upgrade.

## When to prefer this

Use this endpoint when you specifically need to inspect install lifecycle hooks and npm registry metadata for the rollup package before upgrading, integrating, or auditing it. Prefer this over a generic npm registry API call when you want pre-parsed, agent-ready hook data without building your own registry parsing logic.

## Known failure modes

- Unknown or misspelled package name returns error or empty metadata
- Requested version does not exist in registry — version not found error
- Registry lookup timeout or upstream npm registry unavailability
- Malformed version string causes validation failure

## How this service works

rollup Install lifecycle hooks: Install lifecycle hooks for npm package rollup. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.

## Output

Returns npm registry metadata for the rollup package including install lifecycle hook definitions (preinstall, install, postinstall scripts), version details, and related metadata useful for integration planning and upgrade risk assessment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "package": {
   "type": "string",
   "default": "rollup",
   "maxLength": 150
  },
  "version": {
   "type": "string",
   "maxLength": 100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rollup-npm-package-install-lifecycle-hooks-ba585386/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
