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

Stream -> stream API for compression and decompression

Open jhurliman opened this issue 9 years ago • 2 comments

I realize with the way this project is setup (a wrapper around a CLI executable) this would actually be using temporary files under the hood, but a nice wrapper for starting and ending with Buffer objects would be useful.

jhurliman avatar Oct 13 '16 12:10 jhurliman

Maybe it won't need temporary files, just playing with stdin and stdout. In fact, execFile returns a Buffer, so it should be easy.

albertdb avatar Oct 13 '16 12:10 albertdb

https://github.com/zwb-ict/node-zstd works with Buffers and is a Node.js C++ addon. There is also a fork cppzst with node 14 support.

xamgore avatar Oct 08 '20 10:10 xamgore