# React NPM Package Install Lifecycle Hooks Lookup

> React NPM Package Install Lifecycle Hooks Lookup 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).

Retrieves install lifecycle hook metadata from the npm registry for the react package (or any specified package/version) to support integration and upgrade planning.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-react-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/react-npm-package-install-lifecycle-hooks-lookup-56713c3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s25JpJwXC49d4iIpPKRgb

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 react-npm-package-install-lifecycle-hooks-lookup-56713c3b -d '<json body>'
```

Example prompt: Can you pull the install lifecycle hooks for the react npm package at version 18.2.0 so I can see what scripts run during installation before I add it to our project?

## When to prefer this

Use this endpoint when you need to quickly inspect npm install lifecycle hooks for the react package (or another npm package) without manually querying the npm registry. It is especially useful for upgrade planning, security auditing of install-time scripts, and CI/CD pipeline risk assessment. Prefer this over manually querying the npm registry when you need structured, parsed metadata delivered programmatically in an agent workflow.

## Known failure modes

- Package name not found in npm registry — returns error or empty result
- Specified version does not exist for the package — version lookup failure
- npm registry unavailable or rate-limited — upstream fetch failure
- Malformed package name exceeding maxLength of 150 characters — validation error
- Malformed version string exceeding maxLength of 100 characters — validation error

## How this service works

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

## Output

Returns npm registry metadata for the specified package and version, including any defined install lifecycle hooks such as preinstall, install, and postinstall scripts, enabling developers to understand what code executes during npm install operations.

## Request schema (JSON Schema)

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

## More

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