1NPM-OWNER(1) NPM-OWNER(1)
2
3
4
6 npm-owner - Manage package owners
7
8 Synopsis
9 npm owner add <user> [<@scope>/]<pkg>
10 npm owner rm <user> [<@scope>/]<pkg>
11 npm owner ls [<@scope>/]<pkg>
12
13 aliases: author
14
15 Description
16 Manage ownership of published packages.
17
18 • ls: List all the users who have access to modify a package and push
19 new versions. Handy when you need to know who to bug for help.
20
21 • add: Add a new user as a maintainer of a package. This user is en‐
22 abled to modify metadata, publish new versions, and add other owners.
23
24 • rm: Remove a user from the package owner list. This immediately re‐
25 vokes their privileges.
26
27
28 Note that there is only one level of access. Either you can modify a
29 package, or you can't. Future versions may contain more fine-grained
30 access levels, but that is not implemented at this time.
31
32 If you have two-factor authentication enabled with auth-and-writes then
33 you'll need to include an otp on the command line when changing owner‐
34 ship with --otp.
35
36 See Also
37 • npm help publish
38
39 • npm help registry
40
41 • npm help adduser
42
43 • npm help disputes
44
45
46
47
48 April 2021 NPM-OWNER(1)