2015-02-06 17:14:25 +08:00
|
|
|
.TH "NPM\-OWNER" "3" "February 2015" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.SH "NAME"
|
2014-09-25 05:41:07 +08:00
|
|
|
\fBnpm-owner\fR \- Manage package owners
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-05 07:08:12 +08:00
|
|
|
.nf
|
2011-11-27 01:21:03 +08:00
|
|
|
npm\.commands\.owner(args, callback)
|
2014-11-05 07:08:12 +08:00
|
|
|
.fi
|
2014-09-25 05:41:07 +08:00
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
|
|
|
The first element of the 'args' parameter defines what to do, and the subsequent
|
2011-11-27 01:21:03 +08:00
|
|
|
elements depend on the action\. Possible values for the action are (order of
|
|
|
|
parameters are given in parenthesis):
|
2014-09-25 05:41:07 +08:00
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
ls (package):
|
|
|
|
List all the users who have access to modify a package and push new versions\.
|
|
|
|
Handy when you need to know who to bug for help\.
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
add (user, package):
|
|
|
|
Add a new user as a maintainer of a package\. This user is enabled to modify
|
|
|
|
metadata, publish new versions, and add other owners\.
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
rm (user, package):
|
|
|
|
Remove a user from the package owner list\. This immediately revokes their
|
|
|
|
privileges\.
|
2014-09-25 05:41:07 +08:00
|
|
|
|
|
|
|
.RE
|
2011-11-27 01:21:03 +08:00
|
|
|
.P
|
|
|
|
Note that there is only one level of access\. Either you can modify a package,
|
2014-09-25 05:41:07 +08:00
|
|
|
or you can't\. Future versions may contain more fine\-grained access levels, but
|
2011-11-27 01:21:03 +08:00
|
|
|
that is not implemented at this time\.
|
2014-09-25 05:41:07 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2011-11-27 01:21:03 +08:00
|
|
|
npm apihelp publish
|
2014-09-25 05:41:07 +08:00
|
|
|
.IP \(bu 2
|
2014-09-17 06:38:50 +08:00
|
|
|
npm help 7 registry
|
2014-09-25 05:41:07 +08:00
|
|
|
|
|
|
|
.RE
|
2011-11-27 01:21:03 +08:00
|
|
|
|