npm-pack
Create a tarball from a package. tldr-pages
On several platforms
Several platforms
Create a tarball from the current package in the current directory
npm packIdentifyCreate a tarball from a specific package folder
npm pack path/to/package_directoryIdentifySimulate the tarball creation without creating it
npm pack --dry-runIdentifyCreate a tarball without running lifecycle scripts
npm pack --ignore-scriptsIdentifySpecify a custom registry to fetch package metadata from
npm pack --registry https://registry.npmjs.org/Identify