1
0
Fork 0
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:
CanonNi 2024-11-02 22:22:50 +08:00 committed by GitHub
parent 772436418c
commit e3380fe23b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}}`