# koa npm Package Install Lifecycle Hooks

> koa 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-17).

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

## Facts

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

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 koa-npm-package-install-lifecycle-hooks-9fc9bbe2 -d '<json body>'
```

Example prompt: Can you fetch the install lifecycle hooks from the npm registry for the koa package, version 2.14.2, so I can review what scripts run during installation before I add it to the project?

## When to prefer this

Use this endpoint when you need to inspect the specific install lifecycle hooks (preinstall/postinstall scripts) defined in a koa npm package version before integrating or upgrading, particularly for security auditing or CI/CD pipeline planning. Prefer this over general npm search tools when you specifically need lifecycle hook data rather than general package info.

## Known failure modes

- Unknown package version returns 404 or empty result
- Invalid package name format returns validation error
- npm registry unavailable causes timeout or 503
- Non-existent version string yields no metadata

## How this service works

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

## Output

Returns npm registry metadata for the koa package including install lifecycle hooks (preinstall, install, postinstall scripts), version-specific data, and other registry fields useful for integration planning and upgrade risk assessment.

## Request schema (JSON Schema)

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

## More

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