npm-whoami: add page (#14580)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
CanonNi
2024-11-02 22:22:50 +08:00
committed by GitHub
parent 772436418c
commit e3380fe23b

View File

@@ -0,0 +1,12 @@
# npm whoami
> Display npm username.
> More information: <https://docs.npmjs.com/cli/whoami>.
- Display username of the currently logged-in user:
`npm whoami`
- Display username of the current user in the specific registry:
`npm whoami --registry={{registry_url}}`