npm-whoami(1)

npm-whoami1

Usage

<!-- AUTOGENERATED USAGE DESCRIPTIONS -->

Note: This command is unaware of workspaces.

Overview

Display the npm username of the currently logged-in user.

If logged into a registry that provides token-based authentication, then
connect to the /-/whoami registry endpoint to find the username
associated with the token, and print to standard output.

If logged into a registry that uses Basic Auth, then simply print the
username portion of the authentication string.

Configuration

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

Releases

5 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 10
  3. 11
  4. 12
  5. 13

From npm 9.2.0~ds1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.