@reliverse/repackr is your high-level, cross-platform archive toolkit — a modern alternative to existing tools that actually feels like it's from this decade.
💖 GitHub Sponsors • 📦 NPM • ✨ GitHub • 📚 Docs
- 🎒 CLI & SDK to create, extract, and inspect archives
- 🧩 Supports
.zip,.tar,.tar.gz,.tgz,.tar.br,.tar.xz,.7z, and more (via plugins) - ⚡️ Works out of the box — no system-level dependencies required
- 🛠 Fully type-safe SDK for Node.js (with ESM-first globby support)
- 🌍 Cross-platform and framework-agnostic (bun, Node, CI, etc)
- 🔐 Optional password-based encryption (coming soon)
- Bundle a build directory before uploading to your storage bucket
- Extract packages in a CI step
- Create distributable
.zipfiles in CLI tools - Build your own installer or updater logic
- Replace platform-specific deps like
7z,tar, orzipin your scripts
Install globally:
bun i -g @reliverse/repackr-cli
# bun • pnpm • yarn • npmOr just run without any installation:
bunx @reliverse/repackr-cli
# bunx • pnpx • npxComing soon
bun add @reliverse/repackr
# bun • pnpm • yarn • npmrepackr pack ./dist --format zip --out ./build/app.ziprepackr unpack ./build/app.zip --out ./extractedrepackr list ./build/app.zip| Command | Description |
|---|---|
pack |
Create archive from directory |
unpack |
Extract archive to destination |
list |
View archive contents |
--format |
Choose format (zip, tar, etc) |
--out |
Set output path or folder |
--verbose |
Enable verbose logs |
import { pack, unpack, list } from "@reliverse/repackr";
await pack({
src: "./dist",
format: "zip",
dest: "./build/app.zip",
});
await unpack({
src: "./build/app.zip",
dest: "./tmp/unpacked",
});
const files = await list({ src: "./build/app.zip" });
console.log(files);All options are strongly typed, and format plugins are extensible.
You deserve better than platform-specific hacks and ancient CLI wrappers.
- 📦 Everything in JS/TS — no external binaries required
- 🛡 Safe paths (no extraction to
/etc) - 🌐 Built-in format adapters (extensible via plugins)
- 🔄 Deterministic output archives
- ✨ Designed for modern build pipelines
| Format | Read | Write | Notes |
|---|---|---|---|
.zip |
🟡 | 🟡 | Fully supported out of the box |
.tar |
🟡 | 🟡 | |
.tar.gz |
🟡 | 🟡 | Alias: .tgz |
.tar.br |
🟡 | 🟡 | Brotli-compressed tar |
.tar.xz |
🟡 | 🟡 | XZ compression |
.7z |
🟡 | 🟡 | Read only for now (write soon) |
Plugin system coming soon for rar, iso, etc.
git clone https://github.com/reliverse/repackr
cd repackr
bun i
bun dev- name: Compress build
run: repackr pack ./dist --format zip --out ./release.zip
- name: Upload artifact
uses: actions/upload-artifact
with:
name: webapp
path: ./release.zip@reliverse/runnr— Modern process runner@reliverse/prompts— Interactive CLI prompt library@reliverse/relinka— Styled logger with config
If Repackr saved you a few lines of bash or minutes of debugging:
- ⭐ Star the repo
- 💖 Sponsor on GitHub
- 🔁 Share it with a fellow builder
MIT © 2025 blefnk (Nazar Kornienko)