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
22 enabled to modify metadata, publish new versions, and add other own‐
23 ers.
24
25 · rm: Remove a user from the package owner list. This immediately
26 revokes their privileges.
27
28
29 Note that there is only one level of access. Either you can modify a
30 package, or you can't. Future versions may contain more fine-grained
31 access levels, but that is not implemented at this time.
32
33 If you have two-factor authentication enabled with auth-and-writes then
34 you'll need to include an otp on the command line when changing owner‐
35 ship with --otp.
36
37 See Also
38 · npm help publish
39
40 · npm help registry
41
42 · npm help adduser
43
44 · npm help disputes
45
46
47
48
49 February 2021 NPM-OWNER(1)