Please add support folder destination to be a buffer! So instead of writing the compressed file to a path, we can store it in a buffer.
Example:
// compress a file to buffer
compressing.gzip.compressFile('file/path/to/compress', buffer)
.then(compressDone)
.catch(handleError);
Please add support folder destination to be a buffer! So instead of writing the compressed file to a path, we can store it in a buffer.
Example: