
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
A tool to quickly pack and compress the pure git repository.
npm install -g gitpacker
npm install --save gitpacker
$ gitpacker -h
Usage: gitpacker [options] [command]
Commands:
zip <file> [dir]
tar <file> [dir]
Compress files based on git ignore.
Options:
-h, --help output usage information
-V, --version output the version number
-i, --include <file> include file
-e, --exclude <file> exclude file
--debug debug mode, such as print error tracks
const compress = require('gitpacker')
Compress files to zip or tar.
Ibid, but a Promise function.
For example, in the current project directory, want to gitpacker
and exclude all .sh
and .md
files:
gitpacker zip xxx.zip . -e '*.sh' -e '*.md'
or want to gitpacker
the ./lib
directory:
gitpacker zip xxx.zip lib
FAQs
A tool to quickly pack and compress git repository.
The npm package gitpacker receives a total of 7 weekly downloads. As such, gitpacker popularity was classified as not popular.
We found that gitpacker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.