# nanoid npm Package Install Lifecycle Hooks

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

Retrieves install lifecycle hook metadata for the nanoid npm package from the registry to support integration and upgrade planning.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-nanoid-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/nanoid-npm-package-install-lifecycle-hooks-d06a5d54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FaaYi435NHV6QL_c_-34g

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 nanoid-npm-package-install-lifecycle-hooks-d06a5d54 -d '<json body>'
```

Example prompt: Pull the install lifecycle hooks for the nanoid npm package version 5.0.7 so I can review any preinstall or postinstall scripts before adding it to our project.

## When to prefer this

Use this endpoint when you need to programmatically inspect what install-time scripts nanoid triggers without manually pulling and parsing the full npm registry JSON. Especially useful for automated security audits, CI/CD dependency checks, or upgrade planning workflows where you need lifecycle hook data for a specific version of nanoid.

## Known failure modes

- Invalid or non-existent package version returns an error or empty result
- Package name override pointing to a non-existent package returns a registry 404
- Network or registry availability issues may cause timeout or service errors
- Malformed version string may cause parsing failure

## How this service works

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

## Output

Returns npm registry metadata for the nanoid package focused on install lifecycle hooks, including preinstall, install, and postinstall script definitions, package version details, and any other relevant registry signals for integration or upgrade planning.

## Request schema (JSON Schema)

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

## More

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