# vite Install Lifecycle Hooks

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

Retrieves install lifecycle hook metadata from the npm registry for the vite package, useful for integration and upgrade planning.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-vite-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/vite-install-lifecycle-hooks-64eea13b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1t_oWGQO75-eZ6_ZQ7SW9

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 vite-install-lifecycle-hooks-64eea13b -d '<json body>'
```

Example prompt: What install lifecycle hooks does vite run on npm install? Check the registry metadata for vite version 5.2.0 so I can audit it before adding it to our project.

## When to prefer this

Use this endpoint when you need to inspect install-time lifecycle scripts for the vite npm package specifically, especially for security audits, CI/CD integration planning, or pre-upgrade checks. Prefer this over a generic npm registry API call when you want pre-parsed, structured lifecycle hook data without having to parse raw package.json manifests yourself.

## Known failure modes

- Package version not found in registry — returns 404 or empty result
- Invalid package name or version string — returns validation error
- npm registry unreachable or rate-limited — returns upstream error
- No lifecycle hooks defined for the package — returns empty hooks object

## How this service works

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

## Output

Returns npm registry metadata for the vite package focused on install lifecycle hooks, including preinstall, install, and postinstall script definitions, along with relevant registry fields useful for integration and upgrade planning. The response reflects the specified version or defaults to vite if no version override is provided.

## Request schema (JSON Schema)

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

## More

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