galkahana/HummusJS

Configuring a custom 'host' url instead of the AWS hosted binaries

Opened this issue · 0 comments

Hi, thanks for providing this library.

We are behind a proxy and trying to access HummusJS, which blocks us from downloading the binary dependencies from AWS which are listed in the following file: https://github.com/galkahana/HummusJS/blob/master/package.json

"binary": {
"module_name": "hummus",
"module_path": "./binding",
"remote_path": "./{module_name}/v{version}/{toolset}/",
"host": "https://hummus.s3-us-west-2.amazonaws.com",
"package_name": "{node_abi}-{platform}-{arch}-{libc}.tar.gz"
}

We can take a copy of the AWS binaries and host it internally. But we need the ability to define a custom ‘host’ value to point to the internal host url.

Is there a supported way to define an internal / custom host url for the ‘binary’ > ‘host’ param?