npm: Upgrade to 1.3.17
[platform/upstream/nodejs.git] / deps / npm / man / man3 / npm-publish.3
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-PUBLISH" "3" "December 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-publish\fR \-\- Publish a package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm\.commands\.publish([packages,] callback)
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 Publishes a package to the registry so that it can be installed by name\.
18 Possible values in the \'packages\' array are:
19 .
20 .IP "\(bu" 4
21 \fB<folder>\fR:
22 A folder containing a package\.json file
23 .
24 .IP "\(bu" 4
25 \fB<tarball>\fR:
26 A url or file path to a gzipped tar archive containing a single folder
27 with a package\.json file inside\.
28 .
29 .IP "" 0
30 .
31 .P
32 If the package array is empty, npm will try to publish something in the
33 current working directory\.
34 .
35 .P
36 This command could fails if one of the packages specified already exists in
37 the registry\.  Overwrites when the "force" environment variable is set\.
38 .
39 .SH "SEE ALSO"
40 .
41 .IP "\(bu" 4
42 npm help  registry
43 .
44 .IP "\(bu" 4
45 npm help adduser
46 .
47 .IP "\(bu" 4
48 npm apihelp owner
49 .
50 .IP "" 0
51