# yup npm Package Install Lifecycle Hooks

> yup 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).

Returns install lifecycle hook metadata for the yup npm package, enabling integration and upgrade planning.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-yup-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/yup-npm-package-install-lifecycle-hooks-5a768f15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_41OVAUMHXTiArIdmWblkX

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 yup-npm-package-install-lifecycle-hooks-5a768f15 -d '<json body>'
```

Example prompt: Can you fetch the install lifecycle hooks for the yup npm package, version 1.3.3, so I can see what scripts it runs during installation?

## When to prefer this

Use this endpoint when you need to programmatically inspect the install lifecycle hooks of the yup npm package without manually querying the npm registry, particularly useful for automated security audits, dependency onboarding checks, or CI/CD upgrade planning pipelines.

## Known failure modes

- Invalid or non-existent package version returns an error or empty hook data
- Package name override pointing to a non-existent npm package returns a 404-style error
- Rate limiting or payment failure results in a 402 response
- Malformed version string may cause a validation error

## How this service works

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

## Output

Returns npm registry metadata for the yup package (or a specified version), including any install lifecycle hooks such as preinstall, install, and postinstall scripts, useful for integration auditing and upgrade planning.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yup-npm-package-install-lifecycle-hooks-5a768f15/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)
