Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
gzip-size /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
2.76
KB
-rw-rw-rw-
index.js
1.43
KB
-rw-rw-rw-
license
1.09
KB
-rw-rw-rw-
package.json
727
B
-rw-rw-rw-
readme.md
1.75
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.md
# gzip-size [](https://travis-ci.com/github/sindresorhus/gzip-size) > Get the gzipped size of a string or buffer ## Install ``` $ npm install gzip-size ``` ## Usage ```js const gzipSize = require('gzip-size'); const text = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.'; console.log(text.length); //=> 191 console.log(gzipSize.sync(text)); //=> 78 ``` ## API ### gzipSize(input, options?) Returns a `Promise<number>` with the size. ### gzipSize.sync(input, options?) Returns the size. #### input Type: `string | Buffer` #### options Type: `object` Any [`zlib` option](https://nodejs.org/api/zlib.html#zlib_class_options). ### gzipSize.stream(options?) Returns a [`stream.PassThrough`](https://nodejs.org/api/stream.html#stream_class_stream_passthrough). The stream emits a `gzip-size` event and has a `gzipSize` property. ### gzipSize.file(path, options?) Returns a `Promise<number>` with the size of the file. #### path Type: `string` ### gzipSize.fileSync(path, options?) Returns the size of the file. ## Related - [gzip-size-cli](https://github.com/sindresorhus/gzip-size-cli) - CLI for this module --- <div align="center"> <b> <a href="https://tidelift.com/subscription/pkg/npm-gzip-size?utm_source=npm-gzip-size&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a> </b> <br> <sub> Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies. </sub> </div>
Close