{"maintainers":[{"name":"anonymous","email":"joel@authenticdesign.co.uk"}],"dist-tags":{"latest":"1.0.3"},"author":{"name":"Joel Davey"},"description":"Provides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File","readme":"# angular-ionic-unzip\n\nProvides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File\n\n##Install\n\n```$shell\nnpm install angular-ionic-unzip\n```\n\n##Usage\n\nAdd IonicUnzip to your app module providers \n\n```typescript\n@NgModule({\n    providers:[IonicUnzip]\n});\n```\n\nImport it to your class\n\n```typescript\nexport class Catalog {\n\n    constructor(private unzipService:IonicUnzip) {\n        \n        this.unzipService.unzip({\n           targetDir: '/images',\n           fileName: 'images.zip,     \n        }).then(() => {\n            //unzip complete\n        }).catch((e) => {\n            //unzipping failed\n            console.log(e);\n        });\n    \n    }\n```\nThis expects the zip file to already be downloaded on the local file system in the dataDiretory\nSee details of the available directories here https://ionicframework.com/docs/native/file/\n\nYou can override this with the dataDirectory option.\n\n<table class=\"table param-table\" style=\"margin:0;\">\n  <thead>\n  <tr>\n    <th>Param</th>\n    <th>Type</th>\n    <th>Details</th>\n  </tr>\n  </thead>\n  <tbody>\n  <tr>\n    <td>\n      dataDir</td>\n    <td>\n      <code>string</code>\n    </td>\n    <td>\n      <p>Base FileSystem. Please refer to the iOS and Android filesystems https://ionicframework.com/docs/native/file/</p>\n</td>\n  </tr>\n  \n  <tr>\n    <td>\n      targetDir</td>\n    <td>\n      <code>string</code>\n    </td>\n    <td>\n      <p>Target extraction directory</p>\n</td>\n  </tr>\n  \n  <tr>\n    <td>\n      fileName</td>\n    <td>\n      <code>string</code>\n    </td>\n    <td>\n      <p>Name of the zip file</p>\n</td>\n  </tr>\n  <tr>\n      <td>\n        overwrite</td>\n      <td>\n        <code>boolean</code>\n      </td>\n      <td>\n        <p>Overwrite existing folders and files</p>\n  </td>\n    </tr>\n      <tr>\n          <td>\n            verbose</td>\n          <td>\n            <code>boolean</code>\n          </td>\n          <td>\n            <p>Log file creation output to the console</p>\n      </td>\n        </tr>\n  </tbody>\n</table>","repository":{"type":"git","url":"git+https://github.com/joeldavuk/angular-ionic-unzip.git"},"bugs":{"url":"https://github.com/joeldavuk/angular-ionic-unzip/issues"},"license":"ISC","versions":{"1.0.0":{"name":"angular-ionic-unzip","version":"1.0.0","description":"Provides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File","main":"index.js","scripts":{"prepublish":"tsc"},"author":{"name":"Joel Davey"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/joeldavuk/angular-ionic-unzip.git"},"dependencies":{"jszip":"^3.1.4","@ionic-native/file":"^4.3.3","@ionic-native/core":"^3.6.1","@angular/core":"^4.1","rxjs":"^5.0.1","zone.js":"^0.8.4"},"devDependencies":{"typescript":"^2.6.1"},"typings":"./ionic-unzip.d.ts","bugs":{"url":"https://github.com/joeldavuk/angular-ionic-unzip/issues"},"homepage":"https://github.com/joeldavuk/angular-ionic-unzip#readme","_id":"angular-ionic-unzip@1.0.0","_shasum":"4a31fe63f2ae8fab81f509c726a80cf78dc465c7","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"joel@authenticdesign.co.uk"},"dist":{"shasum":"4a31fe63f2ae8fab81f509c726a80cf78dc465c7","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/angular-ionic-unzip/-/angular-ionic-unzip-1.0.0.tgz","integrity":"sha512-s3fVETJcH2/PfhObzaNErqt/8M1XUEpFlcBnjX1ivKv+/tv1taHcUKUobMbAY8mgy/ZsbSV6QaXBhBu0rVqf/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZE2D5Q/erudHNLd+WfubkDb5WfmH+cFBlien7IE37owIgagBZY/SSuQN3XN0tAvOq87h2ginTMjQuQbhH6uJRbO4="}]},"maintainers":[{"name":"anonymous","email":"joel@authenticdesign.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-ionic-unzip-1.0.0.tgz_1510051754111_0.10163874202407897"}},"1.0.1":{"name":"angular-ionic-unzip","version":"1.0.1","description":"Provides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File","main":"index.js","scripts":{"prepublish":"tsc"},"author":{"name":"Joel Davey"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/joeldavuk/angular-ionic-unzip.git"},"dependencies":{"jszip":"^3.1.4","@ionic-native/file":"^4.3.3","@ionic-native/core":"^3.6.1","@angular/core":"^4.1","rxjs":"^5.0.1","zone.js":"^0.8.4"},"devDependencies":{"typescript":"^2.6.1"},"typings":"./ionic-unzip.d.ts","bugs":{"url":"https://github.com/joeldavuk/angular-ionic-unzip/issues"},"homepage":"https://github.com/joeldavuk/angular-ionic-unzip#readme","_id":"angular-ionic-unzip@1.0.1","_shasum":"cb8b5098bdd3698c04a94682e7187f476cee4017","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"joel@authenticdesign.co.uk"},"dist":{"shasum":"cb8b5098bdd3698c04a94682e7187f476cee4017","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/angular-ionic-unzip/-/angular-ionic-unzip-1.0.1.tgz","integrity":"sha512-2UGYoCwP07P9cvs5Xa0aoGwVG72Xa5AMJGZpivVNxuwzwpYNSs9ZAWaIZngUIZ2bGKFc9ewnKS153ZN19xwS9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeXvnagRtZv6NGNQ5C+HMnr0mXiT45Pl7bOOOvXcRcBwIgQXRMpKSGPFFlF6I1Fu44D3o5IuVdDutu0TMSXWWTU2c="}]},"maintainers":[{"name":"anonymous","email":"joel@authenticdesign.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-ionic-unzip-1.0.1.tgz_1510052110425_0.9722661243285984"}},"1.0.2":{"name":"angular-ionic-unzip","version":"1.0.2","description":"Provides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File","main":"ionic-unzip.js","scripts":{"prepublish":"tsc"},"author":{"name":"Joel Davey"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/joeldavuk/angular-ionic-unzip.git"},"dependencies":{"jszip":"^3.1.4","@ionic-native/file":"^4.3.3","@ionic-native/core":"^3.6.1","@angular/core":"^4.1","rxjs":"^5.0.1","zone.js":"^0.8.4"},"devDependencies":{"typescript":"^2.6.1"},"typings":"./ionic-unzip.d.ts","gitHead":"a37cadc9ce24b492a6a19b73cd450dc0bd4907c0","bugs":{"url":"https://github.com/joeldavuk/angular-ionic-unzip/issues"},"homepage":"https://github.com/joeldavuk/angular-ionic-unzip#readme","_id":"angular-ionic-unzip@1.0.2","_shasum":"deee5707638090ee2d2e1f76be4465466eb9ece3","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"joel@authenticdesign.co.uk"},"dist":{"shasum":"deee5707638090ee2d2e1f76be4465466eb9ece3","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/angular-ionic-unzip/-/angular-ionic-unzip-1.0.2.tgz","integrity":"sha512-g5pNXgZNsQ2J4dBI/gy5ut0bkoTZ6VieFTqxrAsM2GcEyGGYMQCtPkRMwSyDmrGopPt+VshRWvV1Hq00aLow3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiyJjqScVDYFMLUpf7C/o05/KDyswKlJ+oLUKNatpx9wIhAIVLwFLOboClhVMfI08Eh7OJWGeQh0wpASW8sVtHscfj"}]},"maintainers":[{"name":"anonymous","email":"joel@authenticdesign.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-ionic-unzip-1.0.2.tgz_1510218729525_0.6639927991200238"}},"1.0.3":{"name":"angular-ionic-unzip","version":"1.0.3","description":"Provides a simple wrapper using JSZip to unzip a file and save to the local filesystem using ionic-native's File","main":"ionic-unzip.js","scripts":{"prepublish":"tsc"},"author":{"name":"Joel Davey"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/joeldavuk/angular-ionic-unzip.git"},"dependencies":{"jszip":"^3.1.4","@ionic-native/file":"^4.3.3","@ionic-native/core":"^3.6.1","@angular/core":"^4.1","rxjs":"^5.0.1","zone.js":"^0.8.4"},"devDependencies":{"typescript":"^2.6.1"},"typings":"./ionic-unzip.d.ts","gitHead":"ee50fc55e58dba36d4eb60fce21666bb0ad0c920","bugs":{"url":"https://github.com/joeldavuk/angular-ionic-unzip/issues"},"homepage":"https://github.com/joeldavuk/angular-ionic-unzip#readme","_id":"angular-ionic-unzip@1.0.3","_shasum":"cd8fe6e338827356044eaff1f1cf5dd3164c6c9b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"joel@authenticdesign.co.uk"},"dist":{"shasum":"cd8fe6e338827356044eaff1f1cf5dd3164c6c9b","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/angular-ionic-unzip/-/angular-ionic-unzip-1.0.3.tgz","integrity":"sha512-M6s8RAnlr5wASVSFz8pOe2Kk4xU9LBkYCBF43/Di4dgykMUaOyySwcPehHX7H6asDviy7ukdilFTA4r4czjpzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzv1InTjdSpLzfy28x5TxiRsCVmeL0eGPtgF5hPJxavAiAy/Vb7D0vDyWbbnapaf9u0OVOEy+zTe6/I29Vm3r2B5Q=="}]},"maintainers":[{"name":"anonymous","email":"joel@authenticdesign.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-ionic-unzip-1.0.3.tgz_1510218841022_0.3814150197431445"}}},"name":"angular-ionic-unzip","time":{"modified":"2022-06-13T02:54:23.509Z","created":"2017-11-07T10:49:14.974Z","1.0.0":"2017-11-07T10:49:14.974Z","1.0.1":"2017-11-07T10:55:11.270Z","1.0.2":"2017-11-09T09:12:09.699Z","1.0.3":"2017-11-09T09:14:02.015Z"},"readmeFilename":"README.md","homepage":"https://github.com/joeldavuk/angular-ionic-unzip#readme"}