A simple and fast file archiving tool with gitignore-style exclusion patterns.
# Using npm
npm install -g @ur-wesley/zipper
# Using bun
bun install -g @ur-wesley/zipper# Using npm
npm install @ur-wesley/zipper
# Using bun
bun install @ur-wesley/zipper# Zip current directory
zipper
# Zip specific directory
zipper ./src
# Zip any path
zipper /path/to/folderCreate a zipconfig.json file in the target directory to customize settings:
{
"output": "my-archive.zip",
"source": "."
}Create a .zipignore file in the target directory to exclude files (uses gitignore syntax):
node_modules/
*.log
.env
.DS_Store
*.tmp
zipper --help # Show help
zipper --version # Show version- 🚀 Fast file archiving with maximum compression
- 🎯 Gitignore-style exclusion patterns via
.zipignore - ⚙️ Configurable via
zipconfig.json - 📦 Automatically excludes common files (
.git,node_modules, output file) - 🔧 CLI tool with simple interface
- 💨 Built with Bun for speed
The tool automatically excludes:
.gitdirectoriesnode_modulesdirectories- The output zip file itself
# Clone the repository
git clone https://github.com/ur-wesley/zipper.git
cd zipper
# Install dependencies
bun install
# Run in development
bun run index.ts
# Build for distribution
bun run buildThis project was created using Bun v1.2.15.