npm_tokens
List npm access tokens with type, creation date, CIDR restrictions, and read-only status. Identify reusable automation tokens and avoid duplicate or publish-token misuse in CI.
Instructions
List all access tokens for the authenticated npm user. Shows token type, creation date, CIDR restrictions, and read-only status. Critical for finding reusable automation/granular tokens that cover your org scope — avoids the common mistake of creating duplicate tokens or using publish tokens in CI (which still require OTP).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (default: 0) | |
| perPage | No | Results per page (default: 25) |