node-gzip icon indicating copy to clipboard operation
node-gzip copied to clipboard

Any reason to use this over promisify(zlib.gzip)

Open roim opened this issue 4 years ago • 0 comments

Since node 12 you can just do

promisify(zlib.gzip)(buffer)

Which is the idiomatic way to promisify gzip.

Is there a reason for this library to exist at this point? Should it follow what other common-name npm packages have done and mark itself as deprecated in favor of the idiomatic approach (with a tutorial on the idiomatic approach as the README)?

roim avatar Apr 06 '21 22:04 roim