{"id":19009661,"url":"https://github.com/fortunen/cordova-plugin-zeep","last_synced_at":"2025-04-15T17:47:14.332Z","repository":{"id":14778140,"uuid":"76117876","full_name":"FortuneN/cordova-plugin-zeep","owner":"FortuneN","description":"Zip compression/decompression for the cordova/phonegap platform","archived":false,"fork":false,"pushed_at":"2023-11-28T08:58:52.000Z","size":477,"stargazers_count":28,"open_issues_count":24,"forks_count":37,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T15:56:31.348Z","etag":null,"topics":["angular","cordova","cordova-android","cordova-android-plugin","cordova-ios","cordova-plugin","cordova-plugin-zeep","decompression","phonegap","unzip","zip","zip-compression"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FortuneN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://paypal.me/FortuneNgwenya"]}},"created_at":"2016-12-10T14:36:28.000Z","updated_at":"2023-04-04T23:11:38.000Z","dependencies_parsed_at":"2024-06-21T14:18:34.758Z","dependency_job_id":"f2286bfa-7d45-4397-8933-59986f9e4b13","html_url":"https://github.com/FortuneN/cordova-plugin-zeep","commit_stats":{"total_commits":55,"total_committers":5,"mean_commits":11.0,"dds":0.09090909090909094,"last_synced_commit":"3da87829823594953902ead3798413364e08062f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FortuneN%2Fcordova-plugin-zeep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FortuneN%2Fcordova-plugin-zeep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FortuneN%2Fcordova-plugin-zeep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FortuneN%2Fcordova-plugin-zeep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FortuneN","download_url":"https://codeload.github.com/FortuneN/cordova-plugin-zeep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249124564,"owners_count":21216689,"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":["angular","cordova","cordova-android","cordova-android-plugin","cordova-ios","cordova-plugin","cordova-plugin-zeep","decompression","phonegap","unzip","zip","zip-compression"],"created_at":"2024-11-08T19:08:33.121Z","updated_at":"2025-04-15T17:47:14.314Z","avatar_url":"https://github.com/FortuneN.png","language":"C","funding_links":["https://paypal.me/FortuneNgwenya"],"categories":[],"sub_categories":[],"readme":"# cordova-plugin-zeep\nZip compression/decompression on the [Apache Cordova](https://cordova.apache.org) / [PhoneGap](http://phonegap.com) platform\n\n### Platforms\n- ios\n- android\n- windows\n\n### Add to project\n```sh\ncordova plugin add cordova-plugin-zeep\n```\n\n### Remove from project\n```sh\ncordova plugin remove cordova-plugin-zeep\n```\n\n### Compression (Zeep.zip or $cordovaZeep.zip)\nfrom : [string] the path/url of the folder whose contents you want to compress\u003cbr/\u003e\nto\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : [string] the path/url of the zip file that you want to produce\n\n### Decompression (Zeep.unzip or $cordovaZeep.unzip)\nfrom : [string] the path/url of the zip file that you want to decompress\u003cbr/\u003e\nto\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; : [string] the path/url of the folder in which you want to deposit the contents of the zip file\n\n### Plain JS example\n```js\nvar source    = cordova.file.applicationDirectory,\n    zip       = cordova.file.cacheDirectory + 'source.zip',\n    extracted = cordova.file.cacheDirectory + 'extracted';\n\nconsole.log('source    : ' + source   );\nconsole.log('zip       : ' + zip      );\nconsole.log('extracted : ' + extracted);\n\nconsole.log('zipping ...');\n\nZeep.zip({\n    from : source,\n    to   : zip\n}, function() {\n\n    console.log('zip success!');\n    console.log('unzipping ...');\n\n    Zeep.unzip({\n        from : zip,\n        to   : extracted\n    }, function() {\n        console.log('unzip success!');\n    }, function(e) {\n        console.log('unzip error: ', e);\n    });\n\n}, function(e) {\n    console.log('zip error: ', e);\n});\n```\n\n### [Angular](https://angularjs.org) example\n(+ other angular-based frameworks -\u003e Ionic, Mobile Angular UI, LumX, MEAN, Angular Foundation, ...)\n```js\n\nvar app = angular.module('MyApp', ['ngCordova.plugins.zeep'])\n\n...\n\napp.controller('MyController', function($scope, $cordovaZeep) {\n    \n    var source    = cordova.file.applicationDirectory,\n        zip       = cordova.file.cacheDirectory + 'source.zip',\n        extracted = cordova.file.cacheDirectory + 'extracted';\n    \n    console.log('source    : ' + source   );\n    console.log('zip       : ' + zip      );\n    console.log('extracted : ' + extracted);\n    \n    console.log('zipping ...');\n    \n    $cordovaZeep.zip({\n        from : source,\n        to   : zip\n    }).then(function() {\n        \n        console.log('zip success!');\n        console.log('unzipping ...');\n        \n        $cordovaZeep.unzip({\n            from : zip,\n            to   : extracted\n        }).then(function() {\n            console.log('unzip success!');\n        }, function(e) {\n            console.log('unzip error: ', e);\n        });\n        \n    }, function(e) {\n        console.log('zip error: ', e);\n    });\n    \n});\n```\n\n### License\nApache 2.0\n\n### Buy me a beer (maybe)\nIf you find this plugin useful, perhaps you can buy me a beer :)\n\n[\u003cimg src=\"https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png\"\u003e](https://paypal.me/FortuneNgwenya)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortunen%2Fcordova-plugin-zeep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffortunen%2Fcordova-plugin-zeep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffortunen%2Fcordova-plugin-zeep/lists"}