Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream -> stream API for compression and decompression #4

Open
jhurliman opened this issue Oct 13, 2016 · 2 comments
Open

Stream -> stream API for compression and decompression #4

jhurliman opened this issue Oct 13, 2016 · 2 comments

Comments

@jhurliman
Copy link

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.

@albertdb
Copy link
Owner

albertdb commented Oct 13, 2016

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

@xamgore
Copy link

xamgore commented Oct 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants