Queries the npm registry to check for verifiable provenance metadata.
| Parameter | Type | Description |
| :— | :— | :— |
| name | string | The package name (e.g., zod). |
| version | string | Optional. Defaults to latest. |
Promise<boolean>: Returns true if trustedPublisher or sigstore.bundle is found.
npx is-verified-pkg lodash 4.17.21