Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 62 lines (40 sloc) 1.599 kb
7d7f219 @isaacs Add a command to manage package maintainers. Fix #40
isaacs authored
1 npm-owner(1) -- Manage package owners
2 =====================================
3
4 ## SYNOPSIS
5
ec15d6a @evnm Standardize synopsis format in docs.
evnm authored
6 npm owner ls <package name>
7 npm owner add <user> <package name>
8 npm owner rm <user> <package name>
7d7f219 @isaacs Add a command to manage package maintainers. Fix #40
isaacs authored
9
10 ## DESCRIPTION
11
12 * ls:
13 List all the users who have access to modify a package and push new versions.
14 Handy when you need to know who to bug for help.
15 * add:
16 Add a new user as a maintainer of a package. This user is enabled to modify
17 metadata, publish new versions, and add other owners.
18 * rm:
19 Remove a user from the package owner list. This immediately revokes their
20 privileges.
21
22 Note that there is only one level of access. Either you can modify a package,
23 or you can't. Future versions may contain more fine-grained access levels, but
24 that is not implemented at this time.
4daf4e5 @isaacs first wave of documentation overhaul.
isaacs authored
25
26 ## CONFIGURATION
27
28 ### outfd
29
30 Default: Standard Output FD (1)
31
32 The file descriptor (integer) or stream object where npm will write
33 "normal" output. For instance, the `ls` and `view` commands write their
34 output here.
35
36 When using npm programmatically, you may want to provide a
37 FileWriteStream, or some other form of WritableStream.
38
39 ### registry
40
41 Default: https://registry.npmjs.org/
42
43 The base URL of the npm package registry.
44
45 ### _auth
46
47 A base-64 encoded "user:pass" pair. This is created by npm-adduser(1).
48
49 If your config file is ever corrupted, you can set this manually by doing:
50
51 npm adduser
52
53 ### username, _password
54
55 Once the configuration is parsed, the `_auth` config is split into
56 `username` and `_password`. This is the part before the ":"
57
58 ## SEE ALSO
59
60 * npm-publish(1)
61 * npm-registry(1)
Something went wrong with that request. Please try again.