mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
npm-whoami: add page (#14580)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
772436418c
commit
e3380fe23b
1 changed files with 12 additions and 0 deletions
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}}`
|
Loading…
Add table
Reference in a new issue