{"id":20105957,"url":"https://github.com/markthree/nzip","last_synced_at":"2025-06-22T06:38:51.024Z","repository":{"id":152047465,"uuid":"625157788","full_name":"markthree/nzip","owner":"markthree","description":"Intelligent fast compression and decompression cli | 智能化快速解压和压缩 cli","archived":false,"fork":false,"pushed_at":"2024-11-25T04:12:04.000Z","size":176,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T12:12:22.484Z","etag":null,"topics":["cli","deno","intellect","script","tar","zip"],"latest_commit_sha":null,"homepage":"https://deno.land/x/nzip","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markthree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T08:37:06.000Z","updated_at":"2024-11-25T04:12:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"bcf8e151-54d4-438a-94ae-96c8c94213de","html_url":"https://github.com/markthree/nzip","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fnzip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fnzip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fnzip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markthree%2Fnzip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markthree","download_url":"https://codeload.github.com/markthree/nzip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549089,"owners_count":19980475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","deno","intellect","script","tar","zip"],"created_at":"2024-11-13T17:48:41.952Z","updated_at":"2025-03-02T17:47:09.886Z","avatar_url":"https://github.com/markthree.png","language":"TypeScript","readme":"# nzip\n\nIntelligent fast compression and decompression `cli`\n\n## Support\n\n### cli\n\n- Support for `tar` and `unzip`\n- Ignores common caching of `nodejs`\n- Support for [c12](https://github.com/unjs/c12) configuration (name: nzip)\n\n### program\n\n- Multi-file bundling\n- Support for `tar` and `unzip`\n\n\u003cbr /\u003e\n\n## Usage\n\n### Program\n\n```ts\nimport { tar, untar, unzip, zip } from \"https://deno.land/x/nzip/mod.ts\";\n\n// Compression\nawait tar([\"/path/file1\", \"/path/file2\"], \"output.tar\");\nawait zip([\"/path/file1\", \"/path/file2\"], \"output.zip\");\n\n// Decompression\nawait untar(\"output.tar\", \"/path2/\");\nawait unzip(\"output.tar\", \"/path2/\");\n```\n\n\u003cbr /\u003e\n\n### cli\n\n#### Installation\n\n```shell\ndeno install --allow-read --allow-write --allow-env --allow-sys --allow-run -rfn nzip https://deno.land/x/nzip/mod.ts\n```\n\nOf course, if you haven't installed `deno` before 👇\n\n```shell\nnpx deno-npx install --allow-read --allow-write --allow-env --allow-sys --allow-run -rfn nzip https://deno.land/x/nzip/mod.ts\n```\n\n#### Zip\n\n```shell\nnzip # # In your project\n```\n\n#### Tar\n\n```shell\nnzip -t tar # In your project\n```\n\n#### Configuration File\n\n```ts\n// nzip.config.ts\nexport default {\n  // Name of the file after successful compression, default is 'default'\n  name: \"demo\",\n  // Custom rules to skip\n  skip: [/script/],\n};\n```\n\n```shell\nnzip # Merges configuration automatically\n```\n\n#### Decompression\n\n```shell\nnzip de \u003cyour.zip|your.rar\u003e \u003coutput\u003e\n```\n\n\u003cbr /\u003e\n\n## Refs\n\n- `tar` is supported by the `deno` standard library\n  [archive](https://deno.land/std/archive/mod.ts)\n- `zip` is supported by\n  [gildas-lormeau/zip.js](https://github.com/gildas-lormeau/zip.js), so it is\n  particularly fast\n\n\u003cbr /\u003e\n\n## License\n\nMade with [markthree](https://github.com/markthree) Published under\n[MIT License](./LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fnzip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkthree%2Fnzip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkthree%2Fnzip/lists"}