npm token
Manage your authentication tokens
Subcommands
Name | Description |
---|---|
list | Shows a table of all active authentication tokens |
create | Create a new authentication token |
revoke | Immediately removes an authentication token from the registry. You will no longer be able to use it |
Options
Name | Description |
---|---|
--registry <registry> | The base URL of the npm registry |
--otp <otp> | One-time password from a two-factor authenticator |