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

Usage with Node.js streams #429

Open
slvrtrn opened this issue Feb 1, 2023 · 5 comments
Open

Usage with Node.js streams #429

slvrtrn opened this issue Feb 1, 2023 · 5 comments
Labels

Comments

@slvrtrn
Copy link

slvrtrn commented Feb 1, 2023

I see that #106 is closed as completed; however, the API does not expose any Transform or other stream helpers.

Do you have lz4-napi with Node.js stream usage examples?

Cheers.

@antoniomuso
Copy link
Owner

Hi slvrtrn, currently, there isn't streams support; I don't remember why I closed the issue, I think by mistake.

This is a good feature.

@antoniomuso antoniomuso added the enhancement New feature or request label Feb 1, 2023
@slvrtrn
Copy link
Author

slvrtrn commented Feb 1, 2023

Thanks for the response @antoniomuso
We'd be happy to use lz4-napi (and LZ4 compression in general) in our Node.js client https://github.com/ClickHouse/clickhouse-js, but we are blocked by a lack of streaming support

@antoniomuso
Copy link
Owner

I am sorry for it; I don't know when I will integrate this feature, and I don't have time to do it at the moment.

@antoniomuso
Copy link
Owner

But your contribution is welcome if you want to implement it by yourself.

@antoniomuso
Copy link
Owner

Currently, it cannot be implemented due to the lack of the Stream in napi-rs. We should wait: napi-rs/napi-rs#1493

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

No branches or pull requests

2 participants