-
Couldn't load subscription status.
- Fork 23
Description
I need to override the binary download host for offline installs. This is necessary in order to use this package in airgapped environments not connected to the internet. node-pre-gyp suggests this is supported but it does not work. I found a bug with how it replaces dashes: mapbox/node-pre-gyp#896
Just a suggestion for an alternative to managing supported binaries... some packages use the approach of packaging supported binaries into npm packages listed as optional dependencies with the appropriate os defined. For example, esbuild does this here. This provides a really nice experience for running airgapped environments because nothing needs to be overridden and the npm packages are simply proxied/replicated as is.