You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Automating clean up of expired tokens with npm token list #9443
The input for npm token revoke requests either id or token, but the list output does not include id a usable manner. Pls add id as id as a field to the json output, and name to npm token list.
The output from npm token list has the fields ( ID available, but name isn't )
Token npm_NYn6...jCq0… with id d83cf1 created 2026-05-29
Output from npm token list --parseable
key token created readonly CIDR whitelist
*** npm_NYn6...jCq0 2025-05-28T12:22:18.350Z false
And the out from npm token list --json has the fields ( Name available, but ID isn't )
Activity
shoryan09 commentedon Jun 7, 2026
I'd like to work on this issue.
fix: output all the required parameters for npm token list (#9588)