# mysql2 npm Package Install Lifecycle Hooks

> mysql2 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-21).

Retrieves install lifecycle hook metadata for the mysql2 npm package to support integration planning and upgrade decisions.

## Facts

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

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 mysql2-npm-package-install-lifecycle-hooks-57cde86d -d '<json body>'
```

Example prompt: Can you pull the install lifecycle hooks for the mysql2 npm package so I can check what scripts run during installation before we add it to our project?

## When to prefer this

Use this endpoint when you need to inspect npm install lifecycle hooks specifically for mysql2 (or a version-pinned variant) as part of security auditing, dependency vetting, or upgrade planning workflows. Prefer this over general npm registry lookups when you want structured, pre-processed lifecycle hook metadata rather than raw registry JSON.

## Known failure modes

- Package not found in npm registry — returns error if the package name is invalid or non-existent
- Version not found — if a specific version is requested that does not exist in the registry
- Rate limiting or payment failure — x402 payment not processed, request rejected
- Malformed input — package name exceeds 150 characters or version string is invalid

## How this service works

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

## Output

Returns registry metadata about the install lifecycle hooks associated with the mysql2 npm package, including any preinstall, install, or postinstall scripts defined in its package.json, enabling integration and upgrade planning.

## Request schema (JSON Schema)

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

## More

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