@stainless-api/repack-package
v0.0.1
Published
Repack NPM tgz files for better compression.
Downloads
75
Readme
repack-package
Optimize NPM package tarballs by reordering their files and compressing them with Zopfli
Usage
repack input.tgz output.tgz
Features
- Optimized ordering for dual CJS/ESM packages (up to 25% size savings)
- Keeps original if no size reduction
- Shows progress with timing
- Skips unnecessary files (
.git
,.DS_Store
, etc.)