682b6bac8ffa17103560aa3e3fc202d893c8532c
[platform/upstream/nodejs.git] / deps / npm / man / man3 / npm-pack.3
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-PACK" "3" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-pack\fR \-\- Create a tarball from a package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm\.commands\.pack([packages,] callback)
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 For anything that\'s installable (that is, a package folder, tarball,
18 tarball url, name@tag, name@version, or name), this command will fetch
19 it to the cache, and then copy the tarball to the current working
20 directory as \fB<name>\-<version>\.tgz\fR, and then write the filenames out to
21 stdout\.
22 .
23 .P
24 If the same package is specified multiple times, then the file will be
25 overwritten the second time\.
26 .
27 .P
28 If no arguments are supplied, then npm packs the current package folder\.