npm token revoke abc123

Category: Node.js & npm/yarn

npm token revoke abc123

Revoke a specific npm authentication token

Permanently invalidates an npm auth token — do this immediately if a token is accidentally exposed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.