diff --git a/pages/common/npm-whoami.md b/pages/common/npm-whoami.md new file mode 100644 index 0000000000..52803bb18b --- /dev/null +++ b/pages/common/npm-whoami.md @@ -0,0 +1,12 @@ +# npm whoami + +> Display npm username. +> More information: . + +- 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}}`