/home/techb158/.nvm/versions/node/v16.20.2/lib/node_modules/npm/man/man1
NameSizeModeActions
npm-access.136470644editdlrm
npm-adduser.124860644editdlrm
npm-audit.1159870644editdlrm
npm-bin.19570644editdlrm
npm-bugs.133000644editdlrm
npm-cache.131390644editdlrm
npm-ci.1107600644editdlrm
npm-completion.110010644editdlrm
npm-config.141760644editdlrm
npm-dedupe.191810644editdlrm
npm-deprecate.118950644editdlrm
npm-diff.198670644editdlrm
npm-dist-tag.155320644editdlrm
npm-docs.132830644editdlrm
npm-doctor.150520644editdlrm
npm-edit.111400644editdlrm
npm-exec.1123960644editdlrm
npm-explain.129630644editdlrm
npm-explore.110750644editdlrm
npm-find-dupes.168280644editdlrm
npm-fund.139920644editdlrm
npm-help-search.18650644editdlrm
npm-help.110750644editdlrm
npm-hook.126910644editdlrm
npm-init.1101650644editdlrm
npm-install-ci-test.188450644editdlrm
npm-install-test.189210644editdlrm
npm-install.1248140644editdlrm
npm-link.1122530644editdlrm
npm-logout.118950644editdlrm
npm-ls.190990644editdlrm
npm-org.122860644editdlrm
npm-outdated.164450644editdlrm
npm-owner.133920644editdlrm
npm-pack.138610644editdlrm
npm-ping.18440644editdlrm
npm-pkg.183540644editdlrm
npm-prefix.113250644editdlrm
npm-profile.147070644editdlrm
npm-prune.161140644editdlrm
npm-publish.179370644editdlrm
npm-query.154800644editdlrm
npm-rebuild.148010644editdlrm
npm-repo.130750644editdlrm
npm-restart.116980644editdlrm
npm-root.111590644editdlrm
npm-run-script.181590644editdlrm
npm-search.139260644editdlrm
npm-set-script.126790644editdlrm
npm-shrinkwrap.19770644editdlrm
npm-star.117930644editdlrm
npm-stars.17760644editdlrm
npm-start.118270644editdlrm
npm-stop.114570644editdlrm
npm-team.144220644editdlrm
npm-test.113690644editdlrm
npm-token.152640644editdlrm
npm-uninstall.145340644editdlrm
npm-unpublish.147690644editdlrm
npm-unstar.116390644editdlrm
npm-update.1124950644editdlrm
npm-version.177080644editdlrm
npm-view.157490644editdlrm
npm-whoami.18660644editdlrm
npm.158040644editdlrm
npx.163130644editdlrm
Edit: /home/techb158/.nvm/versions/node/v16.20.2/lib/node_modules/npm/man/man1/npm-access.1 (3647B)
.TH "NPM\-ACCESS" "1" "February 2023" "" "" .SH "NAME" \fBnpm-access\fR \- Set access level on published packages .SS Synopsis .P .RS 2 .nf npm access public [] npm access restricted [] npm access grant [] npm access revoke [] npm access 2fa\-required [] npm access 2fa\-not\-required [] npm access ls\-packages [||] npm access ls\-collaborators [ []] npm access edit [] .fi .RE .SS Description .P Used to set access controls on private packages\. .P For all of the subcommands, \fBnpm access\fP will perform actions on the packages in the current working directory if no package name is passed to the subcommand\. .RS 0 .IP \(bu 2 public / restricted (deprecated): Set a package to be either publicly accessible or restricted\. .IP \(bu 2 grant / revoke (deprecated): Add or remove the ability of users and teams to have read\-only or read\-write access to a package\. .IP \(bu 2 2fa\-required / 2fa\-not\-required (deprecated): Configure whether a package requires that anyone publishing it have two\-factor authentication enabled on their account\. .IP \(bu 2 ls\-packages (deprecated): Show all of the packages a user or a team is able to access, along with the access level, except for read\-only public packages (it won't print the whole registry listing) .IP \(bu 2 ls\-collaborators (deprecated): Show all of the access privileges for a package\. Will only show permissions for packages to which you have at least read access\. If \fB\fP is passed in, the list is filtered only to teams \fIthat\fR user happens to belong to\. .IP \(bu 2 edit (not implemented) .RE .SS Details .P \fBnpm access\fP always operates directly on the current registry, configurable from the command line using \fB\-\-registry=\fP\|\. .P Unscoped packages are \fIalways public\fR\|\. .P Scoped packages \fIdefault to restricted\fR, but you can either publish them as public using \fBnpm publish \-\-access=public\fP, or set their access as public using \fBnpm access public\fP after the initial publish\. .P You must have privileges to set the access of a package: .RS 0 .IP \(bu 2 You are an owner of an unscoped or scoped package\. .IP \(bu 2 You are a member of the team that owns a scope\. .IP \(bu 2 You have been given read\-write privileges for a package, either as a member of a team or directly as an owner\. .RE .P If you have two\-factor authentication enabled then you'll be prompted to provide an otp token, or may use the \fB\-\-otp=\.\.\.\fP option to specify it on the command line\. .P If your account is not paid, then attempts to publish scoped packages will fail with an HTTP 402 status code (logically enough), unless you use \fB\-\-access=public\fP\|\. .P Management of teams and team memberships is done with the \fBnpm team\fP command\. .SS Configuration .SS \fBregistry\fP .RS 0 .IP \(bu 2 Default: "https://registry\.npmjs\.org/" .IP \(bu 2 Type: URL .RE .P The base URL of the npm registry\. .SS \fBotp\fP .RS 0 .IP \(bu 2 Default: null .IP \(bu 2 Type: null or String .RE .P This is a one\-time password from a two\-factor authenticator\. It's needed when publishing or changing package permissions with \fBnpm access\fP\|\. .P If not set, and a registry response fails with a challenge for a one\-time password, npm will prompt on the command line for one\. .SS See Also .RS 0 .IP \(bu 2 \fBlibnpmaccess\fP \fIhttps://npm\.im/libnpmaccess\fR .IP \(bu 2 npm help team .IP \(bu 2 npm help publish .IP \(bu 2 npm help config .IP \(bu 2 npm help registry .RE