@@ -16,29 +16,10 @@ For all of the subcommands, `npm access` will perform actions on the packages
1616in the current working directory if no package name is passed to the
1717subcommand.
1818
19- * public / restricted (deprecated):
20- Set a package to be either publicly accessible or restricted.
21-
22- * grant / revoke (deprecated):
19+ * grant / revoke:
2320 Add or remove the ability of users and teams to have read-only or read-write
2421 access to a package.
2522
26- * 2fa-required / 2fa-not-required (deprecated):
27- Configure whether a package requires that anyone publishing it have two-factor
28- authentication enabled on their account.
29-
30- * ls-packages (deprecated):
31- Show all of the packages a user or a team is able to access, along with the
32- access level, except for read-only public packages (it won't print the whole
33- registry listing)
34-
35- * ls-collaborators (deprecated):
36- Show all of the access privileges for a package. Will only show permissions
37- for packages to which you have at least read access. If ` <user> ` is passed in,
38- the list is filtered only to teams _ that_ user happens to belong to.
39-
40- * edit (not implemented)
41-
4223### Details
4324
4425` npm access ` always operates directly on the current registry, configurable
@@ -48,7 +29,7 @@ Unscoped packages are *always public*.
4829
4930Scoped packages * default to restricted* , but you can either publish them as
5031public using ` npm publish --access=public ` , or set their access as public using
51- ` npm access public ` after the initial publish.
32+ ` npm access set status= public ` after the initial publish.
5233
5334You must have privileges to set the access of a package:
5435
0 commit comments