This commit is contained in:
MishaBagger
2023-10-25 09:15:21 +03:00
commit b6c10cc93f
9828 changed files with 1446743 additions and 0 deletions

13
12/app.js Normal file
View File

@@ -0,0 +1,13 @@
const fs = require('fs');
const zlib = require('zlib');
let readableStream = fs.createReadStream(
'hello.txt',
'utf8'
);
let writeableStream = fs.createWriteStream('hello.txt.gz');
let gzip = zlib.createGzip();
readableStream.pipe(gzip).pipe(writeableStream);

0
12/hello.txt.gz Normal file
View File

1
12/some.txt Normal file
View File

@@ -0,0 +1 @@
hello 1

1
12/some2.txt Normal file
View File

@@ -0,0 +1 @@
hello 2