1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
4 .TH "NPM\-PUBLISH" "3" "August 2012" "" ""
7 \fBnpm-publish\fR \-\- Publish a package
12 npm\.commands\.publish([packages,] callback)
17 Publishes a package to the registry so that it can be installed by name\.
18 Possible values in the \'packages\' array are:
22 A folder containing a package\.json file
26 A url or file path to a gzipped tar archive containing a single folder
27 with a package\.json file inside\.
32 If the package array is empty, npm will try to publish something in the
33 current working directory\.
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\.