{"id":20367888,"url":"https://github.com/ksoichiro/node-archiver-zip-encryptable","last_synced_at":"2025-04-12T05:37:25.616Z","repository":{"id":33509182,"uuid":"159047328","full_name":"ksoichiro/node-archiver-zip-encryptable","owner":"ksoichiro","description":"An extension for archiver to zip with password encryption.","archived":false,"fork":false,"pushed_at":"2023-03-04T02:59:46.000Z","size":882,"stargazers_count":12,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T15:52:27.431Z","etag":null,"topics":["archiver","nodejs","password-encryption","zip"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/ksoichiro.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":"2018-11-25T15:41:47.000Z","updated_at":"2023-10-16T11:00:19.000Z","dependencies_parsed_at":"2024-06-18T21:16:18.992Z","dependency_job_id":"7373b1ef-1594-46d4-ae2c-6e8e9b7841b3","html_url":"https://github.com/ksoichiro/node-archiver-zip-encryptable","commit_stats":{"total_commits":75,"total_committers":2,"mean_commits":37.5,"dds":0.06666666666666665,"last_synced_commit":"92a3c573b1939dc120cd5e0438f95b57ba38bb69"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fnode-archiver-zip-encryptable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fnode-archiver-zip-encryptable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fnode-archiver-zip-encryptable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksoichiro%2Fnode-archiver-zip-encryptable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksoichiro","download_url":"https://codeload.github.com/ksoichiro/node-archiver-zip-encryptable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525166,"owners_count":21118616,"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":["archiver","nodejs","password-encryption","zip"],"created_at":"2024-11-15T00:35:19.530Z","updated_at":"2025-04-12T05:37:25.568Z","avatar_url":"https://github.com/ksoichiro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# archiver-zip-encryptable\n\n\u003e An extension for archiver to zip with password encryption.\n\n[![GitHub Actions master](https://img.shields.io/github/workflow/status/ksoichiro/node-archiver-zip-encryptable/main/master.svg?logo=github\u0026style=flat-square)](https://travis-ci.org/ksoichiro/node-archiver-zip-encryptable)\n[![AppVeyor master](https://img.shields.io/appveyor/ci/ksoichiro/node-archiver-zip-encryptable/master.svg?logo=appveyor\u0026style=flat-square)](https://ci.appveyor.com/project/ksoichiro/node-archiver-zip-encryptable)\n[![Coveralls master](https://img.shields.io/coveralls/ksoichiro/node-archiver-zip-encryptable/master.svg?style=flat-square\u0026maxAge=2592000)](https://coveralls.io/github/ksoichiro/node-archiver-zip-encryptable)\n[![npm](https://img.shields.io/npm/v/archiver-zip-encryptable.svg?style=flat-square)](https://www.npmjs.com/package/archiver-zip-encryptable)\n[![GitHub license](https://img.shields.io/github/license/ksoichiro/node-archiver-zip-encryptable.svg?style=flat-square)](https://github.com/ksoichiro/node-archiver-zip-encryptable/blob/master/LICENSE)\n\nThis extension adds some formats to handle encryption to [archiver](https://github.com/archiverjs/node-archiver).  \nCurrently this package supports only creating zip with traditional PKWARE encryption.\n\n## Install\n\n```sh\nnpm install archiver-zip-encryptable --save\n```\n\n## Usage\n\nCall `archiver.registerFormat()` to register this module to `archiver`, then archive with password.\n\n```js\nvar fs = require('fs');\nvar archiver = require('archiver');\n\narchiver.registerFormat('zip-encryptable', require('archiver-zip-encryptable'));\n\nvar output = fs.createWriteStream(__dirname + '/example.zip');\n\nvar archive = archiver('zip-encryptable', {\n    zlib: { level: 9 },\n    forceLocalTime: true,\n    password: 'test'\n});\narchive.pipe(output);\n\narchive.append(Buffer.from('Hello World'), { name: 'test.txt' });\narchive.append(Buffer.from('Good Bye'), { name: 'test2.txt' });\n\narchive.finalize();\n```\n\n## Credits\n\n- [yeka/zip](https://github.com/yeka/zip) - password protected zip, Golang implementation\n- [.ZIP File Format Specification](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Fnode-archiver-zip-encryptable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksoichiro%2Fnode-archiver-zip-encryptable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksoichiro%2Fnode-archiver-zip-encryptable/lists"}