npm-token

manages authentication tokens

TLDR

List tokens
$ npm token list
Create token
$ npm token create
Create read-only token
$ npm token create --read-only
Create CI token
$ npm token create --cidr=[192.168.1.0/24]
Revoke token
$ npm token revoke [token-id]

SYNOPSIS

npm token [command] [options]

DESCRIPTION

npm token manages authentication tokens. Creates tokens for CI/CD.The command handles API tokens. Supports scoped permissions.

PARAMETERS

COMMAND

Token subcommand.
list
Show all tokens.
create
Generate new token.
revoke ID
Invalidate token.
--read-only
Read-only token.
--cidr RANGE
IP restriction.
--help
Display help information.

INSTALL

sudo pacman -S npm
sudo apk add npm
brew install npm

CAVEATS

Requires authentication. Tokens are sensitive. Store securely.

HISTORY

npm token provides token management for automated npm registry access.

SEE ALSO

npm(1), npm-login(1), npm-publish(1)