# joi npm Install Lifecycle Hooks

> joi npm 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-17).

Retrieves install lifecycle hook metadata from the npm registry for the joi validation package, supporting integration and upgrade planning.

## Facts

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

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 joi-npm-install-lifecycle-hooks-1da03371 -d '<json body>'
```

Example prompt: Can you pull the install lifecycle hooks for the joi npm package — I want to see what scripts run during installation before I add it to our project?

## When to prefer this

Choose this endpoint when you specifically need to inspect the install-time lifecycle scripts and hooks of the joi npm package before integrating or upgrading it, especially for security audits, compliance checks, or automated CI pipelines that need to verify what runs at installation time.

## Known failure modes

- Invalid or non-existent package version returns an error or empty result
- Network timeout if npm registry is slow or unavailable
- Malformed package name (exceeding 150 characters) rejected by input validation
- Package with no lifecycle hooks returns empty hooks object
- Rate limiting or payment failure ($0.01 USDC) blocks the request

## How this service works

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

## Output

Returns npm registry metadata detailing the install lifecycle hooks (e.g. preinstall, install, postinstall scripts) associated with the joi package and optionally a specific version, useful for integration planning, security review, and upgrade assessment.

## Request schema (JSON Schema)

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

## More

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