bin-wrapper
bin-wrapper copied to clipboard
Expose decompressing
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...
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
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 😃
I'm finishing up my rewrite of this module as we speak so should be able to close this soon.