commands.sh

npm whoami

all

Display npm username.

More info →

Examples (2)

Display username of the currently logged-in user

Display username of the current user in the specific registry

npm whoami --registry registry_url
made by @shridhargupta | data from tldr-pages