{"id":30762571,"url":"https://github.com/dionys/path-tiny-archive-zip","last_synced_at":"2025-09-04T15:07:30.589Z","repository":{"id":56840912,"uuid":"340030393","full_name":"dionys/path-tiny-archive-zip","owner":"dionys","description":"Zip/unzip add-on for file path utility","archived":false,"fork":false,"pushed_at":"2021-03-13T18:09:50.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-20T23:19:28.324Z","etag":null,"topics":["perl","perl5","unzip","zip"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dionys.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-18T11:34:39.000Z","updated_at":"2021-03-13T18:09:52.000Z","dependencies_parsed_at":"2022-08-29T06:50:39.464Z","dependency_job_id":null,"html_url":"https://github.com/dionys/path-tiny-archive-zip","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/dionys/path-tiny-archive-zip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionys%2Fpath-tiny-archive-zip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionys%2Fpath-tiny-archive-zip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionys%2Fpath-tiny-archive-zip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionys%2Fpath-tiny-archive-zip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dionys","download_url":"https://codeload.github.com/dionys/path-tiny-archive-zip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dionys%2Fpath-tiny-archive-zip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273626409,"owners_count":25139469,"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-09-04T02:00:08.968Z","response_time":61,"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":["perl","perl5","unzip","zip"],"created_at":"2025-09-04T15:07:26.039Z","updated_at":"2025-09-04T15:07:30.573Z","avatar_url":"https://github.com/dionys.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nPath::Tiny::Archive::Zip - Zip/unzip add-on for file path utility\n\n# VERSION\n\nversion 0.004\n\n# SYNOPSIS\n\n    use Path::Tiny\n    use Path::Tiny::Archive::Zip qw( :const );\n\n    path(\"foo/bar.txt\")-\u003ezip(\"foo/bar.zip\", COMPRESSION_BEST);\n    path(\"foo/bar.zip\")-\u003eunzip(\"baz\");\n\n# DESCRIPTION\n\nThis module provides two additional methods for [Path::Tiny](https://metacpan.org/pod/Path::Tiny) for working with\nzip archives.\n\n# METHODS\n\n## zip\n\n    path(\"/tmp/foo.txt\")-\u003ezip(\"/tmp/foo.zip\");\n    path(\"/tmp/foo\")-\u003ezip(\"/tmp/foo.zip\");\n\nCreates a zip archive and appends a file or directory tree to it. Returns the\npath to the zip archive or undef.\n\nYou can choose different compression levels.\n\n    path(\"/tmp/foo\")-\u003ezip(\"/tmp/foo.zip\", COMPRESSION_FASTEST);\n\nThe levels given can be:\n\n- `0` or `COMPRESSION_NONE`: No compression.\n- `1` to `9`: 1 gives the best speed and worst compression, and 9 gives\nthe best compression and worst speed.\n- `COMPRESSION_FASTEST`: This is a synonym for level 1.\n- `COMPRESSION_BEST`: This is a synonym for level 9.\n- `COMPRESSION_DEFAULT`: This gives a good compromise between speed and\ncompression, and is currently equivalent to 6 (this is in the zlib code). This\nis the level that will be used if not specified.\n\n## unzip\n\n    path(\"/tmp/foo.zip\")-\u003eunzip(\"/tmp/foo\");\n\nExtracts a zip archive to specified directory. Returns the path to the\ndestination directory or undef.\n\n# AUTHOR\n\nDenis Ibaev \u003cdionys@gmail.com\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2021 by Denis Ibaev.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdionys%2Fpath-tiny-archive-zip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdionys%2Fpath-tiny-archive-zip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdionys%2Fpath-tiny-archive-zip/lists"}