Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.189.3.134
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
node_modules /
unbzip2-stream /
Delete
Unzip
Name
Size
Permission
Date
Action
dist
[ DIR ]
drwxr-xr-x
2021-05-07 15:02
lib
[ DIR ]
drwxr-xr-x
2021-05-07 15:02
LICENSE
1.23
KB
-rw-r--r--
1985-10-26 08:15
README.md
1.52
KB
-rw-r--r--
1985-10-26 08:15
index.js
2.87
KB
-rw-r--r--
1985-10-26 08:15
package.json
2.28
KB
-rw-r--r--
2021-05-07 15:02
Save
Rename
[](http://badge.fury.io/js/unbzip2-stream) unbzip2-stream === streaming bzip2 decompressor in pure JS for Node and browserify. Buffers --- When browserified, the stream emits instances of [feross/buffer](https://github.com/feross/buffer) instead of raw Uint8Arrays to have a consistant API across browsers and Node. Usage --- ``` js var bz2 = require('unbzip2-stream'); var fs = require('fs'); // decompress test.bz2 and output the result fs.createReadStream('./test.bz2').pipe(bz2()).pipe(process.stdout); ``` Also see [test/browser/download.js](https://github.com/regular/unbzip2-stream/blob/master/test/browser/download.js) for an example of decompressing a file while downloading. Or, using a <script> tag --- ``` <script src="https://npm-cdn.info/unbzip2-stream/dist/unbzip2-stream.min.js"></script> <script> var myStream = window.unbzip2Stream(); // now pipe stuff through it (see above) </script> ``` Tests --- To run tests in Node: npm run test To run tests in PhantomJS npm run browser-test Additional Tests ---------------- There are two more tests that specifically test decompression of a very large file. Because I don't want to include large binary files in this repository, the files are created by running an npm script. npm run prepare-long-test You can now npm run long-test And to run a test in chrome that downloads and decompresses a large binary file npm run download-test Open the browser's console to see the output.