The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / deps / npm / man / man3 / pack.3 @ 5aef65a9

History | View | Annotate | Download (750 Bytes)

1
.\" Generated with Ronnjs 0.3.8
2
.\" http://github.com/kapouer/ronnjs/
3
.
4
.TH "NPM\-PACK" "3" "February 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\.