{"id":16622951,"url":"https://github.com/seldszar/archiver-webpack-plugin","last_synced_at":"2026-04-29T09:31:51.711Z","repository":{"id":57159229,"uuid":"104816295","full_name":"Seldszar/archiver-webpack-plugin","owner":"Seldszar","description":"Generate a compressed archive of compiled assets.","archived":false,"fork":false,"pushed_at":"2019-02-28T15:16:32.000Z","size":200,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T04:37:33.649Z","etag":null,"topics":["archive","compression","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","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/Seldszar.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}},"created_at":"2017-09-26T00:36:30.000Z","updated_at":"2020-01-03T08:09:04.000Z","dependencies_parsed_at":"2022-09-08T10:40:13.052Z","dependency_job_id":null,"html_url":"https://github.com/Seldszar/archiver-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seldszar%2Farchiver-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seldszar%2Farchiver-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seldszar%2Farchiver-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seldszar%2Farchiver-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seldszar","download_url":"https://codeload.github.com/Seldszar/archiver-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012662,"owners_count":20221606,"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":["archive","compression","webpack","webpack-plugin"],"created_at":"2024-10-12T03:04:18.124Z","updated_at":"2026-04-29T09:31:51.678Z","avatar_url":"https://github.com/Seldszar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![dependencies][dependencies]][dependencies-url]\n[![test][test]][test-url]\n[![semantic-release][semantic-release]][semantic-release-url]\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/webpack/webpack\"\u003e\n    \u003cimg width=\"200\" src=\"https://cdn.worldvectorlogo.com/logos/webpack-icon.svg\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eArchiver Plugin\u003c/h1\u003e\n  \u003cp\u003eGenerate a compressed archive of compiled assets.\u003cp\u003e\n\u003c/div\u003e\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n- [Author](#author)\n- [License](#license)\n\n## Installation\n\n```bash\nnpm install archiver archiver-webpack-plugin --save-dev\n```\n\n## Usage\n\n### Using the built-in Archiver instance\n\n```javascript\nconst ArchiverPlugin = require(\"archiver-webpack-plugin\");\n\nmodule.exports = {\n  plugins: [\n    new ArchiverPlugin({\n      format: \"zip\",\n      formatOptions: {\n        zlib: {\n          level: 9,\n        },\n      },\n    }),\n  ],\n};\n```\n\n### Using a custom Archiver instance\n\n```javascript\nconst ArchiverPlugin = require(\"archiver-webpack-plugin\");\nconst archiver = require(\"archiver\");\n\nconst archive = archiver(\"zip\", {\n  zlib: {\n    level: 9,\n  },\n});\n\nmodule.exports = {\n  plugins: [\n    new ArchiverPlugin({\n      archive,\n    }),\n  ],\n};\n```\n\nArguments:\n\n* `output`: The archive output path.\n* `test`: All assets matching this RegExp are processed. Defaults to every asset.\n* `format`: The archive format. Defaults to `\"zip\"`.\n* `formatOptions`: The archive format options. Defaults to `\"{}\"`.\n* `archive`: An Archiver instance. Defaults to the built-in instance.\n\n## API\n\nSee the detailed [API Reference](API.md).\n\n## Author\n\nAlexandre Breteau - [@0xSeldszar](https://twitter.com/0xSeldszar)\n\n## License\n\nMIT © [Alexandre Breteau](https://seldszar.fr)\n\n\n[npm]: https://img.shields.io/npm/v/archiver-webpack-plugin.svg\n[npm-url]: https://npmjs.com/package/archiver-webpack-plugin\n\n[node]: https://img.shields.io/node/v/archiver-webpack-plugin.svg\n[node-url]: https://nodejs.org\n\n[dependencies]: https://david-dm.org/Seldszar/archiver-webpack-plugin.svg\n[dependencies-url]: https://david-dm.org/Seldszar/archiver-webpack-plugin\n\n[test]: https://secure.travis-ci.org/Seldszar/archiver-webpack-plugin.svg\n[test-url]: http://travis-ci.org/Seldszar/archiver-webpack-plugin\n\n[semantic-release]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-release-url]: https://github.com/semantic-release/semantic-release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseldszar%2Farchiver-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseldszar%2Farchiver-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseldszar%2Farchiver-webpack-plugin/lists"}