{"id":30261659,"url":"https://github.com/peerigon/unzip-crx","last_synced_at":"2025-08-15T20:55:25.554Z","repository":{"id":4726934,"uuid":"52787839","full_name":"peerigon/unzip-crx","owner":"peerigon","description":"Unzip chrome extension files","archived":false,"fork":false,"pushed_at":"2023-07-10T02:55:05.000Z","size":61,"stargazers_count":52,"open_issues_count":5,"forks_count":19,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-08-09T18:21:39.150Z","etag":null,"topics":[],"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/peerigon.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":"2016-02-29T11:59:26.000Z","updated_at":"2024-08-26T13:31:36.000Z","dependencies_parsed_at":"2024-06-18T13:44:27.852Z","dependency_job_id":"d81f7b7a-5066-49f4-b648-d22560caae3b","html_url":"https://github.com/peerigon/unzip-crx","commit_stats":{"total_commits":24,"total_committers":8,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"9a52093f7e40e44a7cd1977fd121fdba9910bfbd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peerigon/unzip-crx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Funzip-crx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Funzip-crx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Funzip-crx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Funzip-crx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerigon","download_url":"https://codeload.github.com/peerigon/unzip-crx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Funzip-crx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270630143,"owners_count":24619370,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-15T20:55:22.177Z","updated_at":"2025-08-15T20:55:25.547Z","avatar_url":"https://github.com/peerigon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unzip-crx\n\n**Unzip chrome extension files**\n\n[![Build Status](https://travis-ci.org/peerigon/unzip-crx.svg?branch=master)](https://travis-ci.org/peerigon/unzip-crx) [![Dependency Status](https://david-dm.org/peerigon/unzip-crx.svg)](https://david-dm.org/peerigon/unzip-crx) [![Coverage Status](https://coveralls.io/repos/github/peerigon/unzip-crx/badge.svg?branch=master)](https://coveralls.io/github/peerigon/unzip-crx?branch=master)\n\nIf you want to unzip [Chrome extension files](https://developer.chrome.com/extensions) (\\*.crx) you might have the problem that your unzip lib claims that the file header is malformed. This is due to that Chrome [adds some extra information](https://developer.chrome.com/extensions/crx) for identifying crx files. `unzip-crx` handles those additional headers and unzips as usual.\n\nThis lib is highly inspired by [crx2ff](https://github.com/abarreir/crx2ff) from [abarreir](https://github.com/abarreir) and [crxviewer](https://github.com/Rob--W/crxviewer) from [Rob Wu](https://github.com/Rob--W), thanks!\n\n## Installation\n\n```\n$ npm install unzip-crx\n```\n\n## Example\n\n```js\nconst unzip = require(\"unzip-crx\");\n\nconst crxFile = \"./this-chrome-extension.crx\";\n\nunzip(crxFile).then(() =\u003e {\n  console.log(\"Successfully unzipped your crx file..\");\n});\n```\n\n## API\n\n### unzip(file[, destination])\n\nResolves with a Promise if the file was unzipped successfully, throws otherwise (use `.catch()`).\n\n## Contributing\n\nFrom opening a bug report to creating a pull request: **every contribution is appreciated and welcome**. If you're planing to implement a new feature or change the api please create an issue first. This way we can ensure that your precious work is not in vain.\n\nAll pull requests should have 100% test coverage (with notable exceptions) and need to pass all tests.\n\n- Call `npm test` to run the unit tests\n- Call `npm run coverage` to check the test coverage (using [istanbuljs/nyc](https://github.com/istanbuljs/nyc))\n\n## LICENSE\n\nMIT\n\n## Sponsors\n\n[\u003cimg src=\"https://assets.peerigon.com/peerigon/logo/peerigon-logo-flat-spinat.png\" width=\"150\" /\u003e](https://peerigon.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Funzip-crx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerigon%2Funzip-crx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Funzip-crx/lists"}