From 3a97d7dc7a0a0b79c2f04bf29c8b5bde80b613c9 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Sun, 17 Nov 2024 16:02:55 +0100 Subject: [PATCH] npm-{login,logout}: update page (#14857) --- pages/common/npm-login.md | 8 ++++---- pages/common/npm-logout.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/npm-login.md b/pages/common/npm-login.md index d27fcf4c0a..d4bf7ff0e3 100644 --- a/pages/common/npm-login.md +++ b/pages/common/npm-login.md @@ -1,17 +1,17 @@ # npm login -> Login to a registry user account. +> Log in to a registry user account. > See also: `npm logout` for logging out. > More information: . -- Login to a registry user account and save the credentials to the `.npmrc` file: +- Log in to a registry user account and save the credentials to the `.npmrc` file: `npm login` -- Login using a custom registry: +- Log in using a custom registry: `npm login --registry={{registry_url}}` -- Login using a specific authentication strategy: +- Log in using a specific authentication strategy: `npm login --auth-type={{legacy|web}}` diff --git a/pages/common/npm-logout.md b/pages/common/npm-logout.md index 70ee3b04a3..12b2f71e1f 100644 --- a/pages/common/npm-logout.md +++ b/pages/common/npm-logout.md @@ -1,13 +1,13 @@ # npm logout -> Logout of the registry user account. +> Log out of the registry user account. > See also: `npm login` for logging in. > More information: . -- Logout of the registry user account: +- Log out of the registry user account: `npm logout` -- Logout using a custom registry: +- Log out using a custom registry: `npm logout --registry={{registry_url}}`