{"id":29189355,"url":"https://github.com/coderaiser/node-inly","last_synced_at":"2025-07-01T23:07:17.785Z","repository":{"id":57274194,"uuid":"80118394","full_name":"coderaiser/node-inly","owner":"coderaiser","description":":outbox_tray: extract .zip, .gz, .bz2, .tar, .tar.gz, .tgz, .tar.bz2","archived":false,"fork":false,"pushed_at":"2024-02-01T20:18:38.000Z","size":59,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T08:57:18.471Z","etag":null,"topics":["acrchive","extract","gz","nodejs","tar","tgz","zip"],"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/coderaiser.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","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":"2017-01-26T13:49:32.000Z","updated_at":"2025-04-26T21:21:59.000Z","dependencies_parsed_at":"2024-06-18T17:07:29.421Z","dependency_job_id":"5c85a471-628e-4c5c-9e18-2e95881cb2b8","html_url":"https://github.com/coderaiser/node-inly","commit_stats":{"total_commits":132,"total_committers":1,"mean_commits":132.0,"dds":0.0,"last_synced_commit":"264e59fe6b50d6117792607275a2b9309a868842"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/coderaiser/node-inly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fnode-inly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fnode-inly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fnode-inly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fnode-inly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderaiser","download_url":"https://codeload.github.com/coderaiser/node-inly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderaiser%2Fnode-inly/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959557,"owners_count":23391057,"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":["acrchive","extract","gz","nodejs","tar","tgz","zip"],"created_at":"2025-07-01T23:07:17.126Z","updated_at":"2025-07-01T23:07:17.767Z","avatar_url":"https://github.com/coderaiser.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inly [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMURL]: https://npmjs.org/package/inly \"npm\"\n[NPMIMGURL]: https://img.shields.io/npm/v/inly.svg?style=flat\n[BuildStatusURL]: https://github.com/coderaiser/node-inly/actions/workflows/nodejs.yml \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/coderaiser/node-inly/actions/workflows/nodejs.yml/badge.svg\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[CoverageURL]: https://coveralls.io/github/coderaiser/node-inly?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/node-inly/badge.svg?branch=master\u0026service=github\n\nExtract .zip, .gz, .bz2, .tar, tar.gz, tar.bz2, .tgz, .tbz2 archives with emitter.\n\n## Global\n\n`inly` could be installed global with\n\n```\nnpm i inly -g\n```\n\nAnd used this way:\n\n```\nUsage: inly [filename]\nOptions:\n  -h, --help      display this help and exit\n  -v, --version   output version information and exit\n```\n\n## Local\n\n`inly` could be used localy. It will emit event on every packed/extracted file.\nGood for making progress bars.\n\n## Install\n\n```\nnpm i inly --save\n```\n\n## How to use?\n\n### inly(from, to)\n\n- `from` - path to archive\n- `to` - path to directory where files would be stored.\n\n```js\nconst inly = require('inly');\nconst path = require('path');\nconst cwd = process.cwd();\nconst name = 'pipe.zip';\nconst to = `${cwd}/pipe-io`;\nconst from = path.join(cwd, name);\n\nconst extract = inly(from, to);\n\nextract.on('file', (name) =\u003e {\n    console.log(name);\n});\n\nextract.on('progress', (percent) =\u003e {\n    console.log(`${percent}%`);\n});\n\nextract.on('error', (error) =\u003e {\n    console.error(error);\n});\n\nextract.on('end', () =\u003e {\n    console.log('done');\n});\n```\n\nIn case of starting example output should be similar to (but with additional events):\n\n```\n33%\n67%\n100%\ndone\n```\n\n## Related\n\n- [OneZip](https://github.com/coderaiser/node-onezip \"OneZip\") - Pack and extract .zip archives with emitter.\n- [Bizzy](https://github.com/coderaiser/node-bizzy \"Bizzy\") - Pack and extract .tar.bz2 archives with emitter.\n- [Jaguar](https://github.com/coderaiser/node-jaguar \"Jaguar\") - Pack and extract .tar.gz archives with emitter.\n- [Jag](https://github.com/coderaiser/node-jag \"Jag\") - Pack files and folders with tar and gzip.\n- [Tar-to-zip](https://github.com/coderaiser/node-tar-to-zip \"Tar-to-zip\") - Convert tar and tar.gz archives to zip.\n- [Copymitter](https://github.com/coderaiser/node-copymitter \"Copymitter\") - Copy files with emitter.\n- [Remy](https://github.com/coderaiser/node-remy \"Remy\") - Remove files with emitter.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderaiser%2Fnode-inly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderaiser%2Fnode-inly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderaiser%2Fnode-inly/lists"}