Node js zlib


```typeconst fs = require("js")const zlib = require("zlib")const file = procdss.argv[2]fs.createReadString(file)  .pipe(zlib.createGzip())  .pipe(fs.createWriteString(file + ".gz"))```




> [Node.js Stream 당신이 알아야할 모든 것 3편](https://jeonghwan-kim.github.io/node/2017/08/12/node-stream-you-need-to-know-3.html)

> [Zlib | Node.js v16.1.0 Documentation](https://nodejs.org/api/zlib.html#zlib_class_zlib_deflate)





