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

Expose decompressing #37

Open
sindresorhus opened this issue Jun 11, 2015 · 3 comments
Open

Expose decompressing #37

sindresorhus opened this issue Jun 11, 2015 · 3 comments

Comments

@sindresorhus
Copy link
Contributor

bin-wrapper is a bit of a black-box if the use-case doesn't fit exactly how bin-wrapper works.

For example I had the need to decompress .tar.xz which requires a plugin to decompress and this is impossible because of all the leaky abstractions.

I had to hack around in the meantime...

@mastilver
Copy link
Contributor

I'm hitting the same issue
I will try to have a go tonight

Would that be ok:

binWrapper.setDecompressPlugin(plugin)

plugin

Type: string, Function

if a string is passed, the according module will be required

@simonepri
Copy link

To overcome to those restrictions I've forked the project and republished with a different API in the bin-manager package.
Hope this could help someone 😃

@kevva
Copy link
Owner

kevva commented Jul 18, 2017

I'm finishing up my rewrite of this module as we speak so should be able to close this soon.

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

Successfully merging a pull request may close this issue.

4 participants