{"id":18909023,"url":"https://github.com/chdh/node-zip","last_synced_at":"2025-06-20T03:07:55.320Z","repository":{"id":143934380,"uuid":"585789587","full_name":"chdh/node-zip","owner":"chdh","description":"A Node.js-based command line tool for creating ZIP files.","archived":false,"fork":false,"pushed_at":"2025-01-05T05:45:52.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T14:56:04.718Z","etag":null,"topics":["nodezip","zip-command-line","zipfile","zipper"],"latest_commit_sha":null,"homepage":"","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/chdh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2023-01-06T04:33:03.000Z","updated_at":"2025-01-05T05:45:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3832e1e5-6a87-4f35-8509-954f5ec83093","html_url":"https://github.com/chdh/node-zip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chdh/node-zip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2Fnode-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2Fnode-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2Fnode-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2Fnode-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chdh","download_url":"https://codeload.github.com/chdh/node-zip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2Fnode-zip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260868908,"owners_count":23074961,"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":["nodezip","zip-command-line","zipfile","zipper"],"created_at":"2024-11-08T09:30:13.028Z","updated_at":"2025-06-20T03:07:50.308Z","avatar_url":"https://github.com/chdh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeZip\n\nA Node.js-based command line tool for creating ZIP files.\n\nThis program is written in TypeScript and compiled to JavaScript.\nIt uses the [yazl library](https://github.com/thejoshwolfe/yazl) to generate ZIP files.\nYou have to install [Node.js](https://nodejs.org) in order to use it.\n\n## Usage\n\n```Shell\nnode nodezip.mjs \"zipFileName\"\n   [-c \"baseDir\"] [-p \"prefix\"] \"inclPath\" [...] [-x \"exclPath\" ...]\n   [-c ...]\n```\n\n\u003cdl\u003e\n\n\u003cdt\u003ezipFileName\n\u003cdd\u003eOutput ZIP file name.\n\n\u003cdt\u003ebaseDir\n\u003cdd\u003eBase directory for subsequent \u003ci\u003e\"inclPath\"\u003c/i\u003e and \u003ci\u003e\"exclPath\"\u003c/i\u003e.\n\n\u003cdt\u003eprefix\n\u003cdd\u003eOutput directory prefix path for the files within the ZIP file.\n\n\u003cdt\u003einclPath\n\u003cdd\u003e\u003ca href=\"https://github.com/mrmlnc/fast-glob#pattern-syntax\"\u003eGlob pattern\u003c/a\u003e for files to include.\n\n\u003cdt\u003eexclPath\n\u003cdd\u003e\u003ca href=\"https://github.com/mrmlnc/fast-glob#pattern-syntax\"\u003eGlob pattern\u003c/a\u003e for files to exclude and for directories to ignore.\n\n\u003c/dl\u003e\n\n\n## Examples\n\n```Shell\nnode nodezip.mjs backup.zip \"**/*.ts\" \"doc\"\n```\n\n```Shell\nnode nodezip.mjs backup.zip \"**\" -x \"**/node_modules\" \"**/dist\"\n```\n\nUnder Windows, quotes can be omitted and backslashes are allowed in paths.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdh%2Fnode-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchdh%2Fnode-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdh%2Fnode-zip/lists"}