nzip

Intelligent fast compression | 智能化快速压缩


Support

cli

  • nodejs Ignore node_modules and any cache | 忽略 nodejs 的 node_modules 和常见缓存

program

  • Streaming zip | 流式 zip
  • Multi-file synthesis | 多文件合成

Usage

install

deno install --allow-read --allow-write --allow-run -rfn nzip https://deno.land/x/nzip/mod.ts

cli

zip

nzip # in your porject

tar

nzip -t tar # in your porject

program

import { tar, zip } from "https://deno.land/x/nzip/mod.ts"

await tar(['/path/file1', '/path/file2'], 'output.tar')
await zip(['/path/file1', '/path/file2'], 'output.zip')

TODO

  • Back pressure treatment

License

Made with markthree

Published under MIT License.