]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-pack.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-pack.md
1 npm-pack(3) -- Create a tarball from a package
2 ==============================================
3
4 ## SYNOPSIS
5
6     npm.commands.pack([packages,] callback)
7
8 ## DESCRIPTION
9
10 For anything that's installable (that is, a package folder, tarball,
11 tarball url, name@tag, name@version, or name), this command will fetch
12 it to the cache, and then copy the tarball to the current working
13 directory as `<name>-<version>.tgz`, and then write the filenames out to
14 stdout.
15
16 If the same package is specified multiple times, then the file will be
17 overwritten the second time.
18
19 If no arguments are supplied, then npm packs the current package folder.