Skip to content
This repository
Newer
Older
100644 68 lines (44 sloc) 1.843 kb
7d7f219a »
2010-07-25 Add a command to manage package maintainers. Fix #40
1 npm-owner(1) -- Manage package owners
2 =====================================
3
4 ## SYNOPSIS
5
ec15d6a2 »
2010-11-29 Standardize synopsis format in docs.
6 npm owner ls <package name>
7 npm owner add <user> <package name>
8 npm owner rm <user> <package name>
7d7f219a »
2010-07-25 Add a command to manage package maintainers. Fix #40
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.
4daf4e5f »
2011-01-03 first wave of documentation overhaul.
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 ### _authCrypt
54
55 If crypto.Cipher is available, and you have some private keys in `$HOME/.ssh`,
56 then npm will encrypt your "_auth" config before saving to the .npmrc file,
57 and will decrypt the "_authCrypt" config when it reads the .npmrc file.
58
59 ### username, _password
60
61 Once the configuration is parsed, the `_auth` config is split into
62 `username` and `_password`. This is the part before the ":"
63
64 ## SEE ALSO
65
66 * npm-publish(1)
67 * npm-registry(1)
Something went wrong with that request. Please try again.