You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if possible to use this library as a stream like node-zopfli. I've found only callback and async methods, it would be great to add methods which implements stream interface.
constzopfli=require('@gfx/zopfli');// or const { createGzip } = require('@gfx/zopfli');fs.createReadStream('file.js').pipe(zopfli.createGzip(options))// or .pipe(createGzip(options)).pipe(fs.createWriteStream('file.js.gz'));
The text was updated successfully, but these errors were encountered:
I am wondering if possible to use this library as a stream like node-zopfli. I've found only callback and async methods, it would be great to add methods which implements stream interface.
node-zopfli
@gfx/zopfli (hypothetical)
The text was updated successfully, but these errors were encountered: