S
S
shasoft2020-01-05 14:07:51
JavaScript
shasoft, 2020-01-05 14:07:51

How can I create a stream to pack data into a file when writing data to it?

How to create a stream so that when writing to it, the data is packed and saved to a file?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Belyaev, 2020-01-05
@shasoft

https://nodejs.org/dist/latest-v12.x/docs/api/zlib.html

L
Lynn "Coffee Man", 2020-01-05
@Lynn

https://nodejs.org/api/zlib.html
https://nodejs.org/api/fs.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question