@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)