# AJV NPM Package Install Lifecycle Hooks

> AJV 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 npm package 'ajv', useful for integration and upgrade planning.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-ajv-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/ajv-npm-package-install-lifecycle-hooks-315299ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ry3zK1Ks-ZYt4puMX4-TD

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 ajv-npm-package-install-lifecycle-hooks-315299ac -d '<json body>'
```

Example prompt: Can you pull the install lifecycle hooks for the ajv npm package, version 8.12.0, so I can review what scripts run on install before I add it to our project?

## When to prefer this

Use this endpoint when you need to programmatically inspect the install lifecycle hooks of the ajv npm package (or an overridden package/version) for integration auditing, security review, or upgrade planning — particularly in agentic workflows that need npm registry metadata without manually querying the npm registry.

## Known failure modes

- Package name not found in npm registry — returns error or empty result
- Invalid version string — returns validation error
- Rate limiting or payment failure via x402 protocol — request rejected
- Registry metadata unavailable for specified version — incomplete result

## How this service works

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

## Output

Returns npm registry metadata related to install lifecycle hooks for the specified package (defaulting to 'ajv'), including any preinstall, install, and postinstall script definitions associated with the package version.

## Request schema (JSON Schema)

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

## More

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