{"id":15592115,"url":"https://github.com/derhuerst/decompress-archive","last_synced_at":"2026-03-05T15:30:18.549Z","repository":{"id":66219458,"uuid":"102483123","full_name":"derhuerst/decompress-archive","owner":"derhuerst","description":"Extract/decompress archives. Node only.","archived":false,"fork":false,"pushed_at":"2017-09-05T13:39:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T23:06:28.858Z","etag":null,"topics":["gz","gzip","tar","tar-gz","unzip","zip"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/decompress-archive","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.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}},"created_at":"2017-09-05T13:14:44.000Z","updated_at":"2017-09-05T13:15:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d82a13a3-3be4-4106-94aa-6a45e670e14a","html_url":"https://github.com/derhuerst/decompress-archive","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"73e9e3605fcf924998828803852ffcd1b0b9ed4b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fdecompress-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fdecompress-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fdecompress-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fdecompress-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/decompress-archive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239890299,"owners_count":19713945,"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":["gz","gzip","tar","tar-gz","unzip","zip"],"created_at":"2024-10-02T23:55:03.353Z","updated_at":"2026-03-05T15:30:18.462Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# decompress-archive\n\n**Extract/decompress archives.** Uses native CLI tools such as `unzip` and `tar` and therefore only works in Node.js.\n\nSimilar to [decompress](https://github.com/kevva/decompress#decompress-) and [compressjs](https://github.com/cscott/compressjs#compressjs). `decompress-archive` however\n\n- should be faster because it uses native `unzip` etc,\n- is more lightweight, but *does not* work in the browser,\n- has no command line interface.\n\n[![npm version](https://img.shields.io/npm/v/decompress-archive.svg)](https://www.npmjs.com/package/decompress-archive)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/decompress-archive.svg)\n[![chat on gitter](https://badges.gitter.im/derhuerst.svg)](https://gitter.im/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install decompress-archive\n```\n\n\n## Usage\n\n```js\nconst decompress = require('decompress-archive')\n\ndecompress('path/to/archive.zip', 'path/to/dest', (err) =\u003e {\n\tif (err) console.error(err)\n})\n```\n\n\n## API\n\n```js\ndecompress(archive, dest, [flatten], cb)\n```\n\n\n\n## Contributing\n\nIf you have a question or have difficulties using `decompress-archive`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/decompress-archive/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fdecompress-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fdecompress-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fdecompress-archive/lists"}