npm-whoami: add page (#14580)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
12
pages/common/npm-whoami.md
Normal file
12
pages/common/npm-whoami.md
Normal 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}}`
|
Reference in New Issue
Block a user