scripts/util/extensions.js
function getBinaryUrl() {
  var site = getArgument('--fis-binary-site') ||
             process.env.FIS_BINARY_SITE  ||
             process.env.npm_config_FIS_binary_site ||
             (pkg.nodeConfig && pkg.nodeConfig.binarySite) ||
             'https://github.com/' + repositoryName + '/releases/download';

  return [site, 'v' + pkg.version, getBinaryName()].join('/');
}
function getBinaryUrl() {
  var site = getArgument('--fis-binary-site') ||
             process.env.FIS_BINARY_SITE  ||
             process.env.npm_config_FIS_binary_site ||
             (pkg.nodeConfig && pkg.nodeConfig.binarySite) ||
             'https://github.com/' + repositoryName + '/releases/download';

  return [site, 'v' + pkg.version, getBinaryName()].join('/');
}
function getBinaryUrl ( ) { var site = getArgument ( '--fis-binary-site' ) || process . env . FIS_BINARY_SITE || process . env . npm_config_FIS_binary_site || ( pkg . nodeConfig && pkg . nodeConfig . binarySite ) || 'https://github.com/' + repositoryName + '/releases/download' ; return [ site , 'v' + pkg . version , getBinaryName ( ) ] . join ( '/' ) ; }
Determine the URL to fetch binary file from.
By default fetch from the addon for fis distribution
site on GitHub.

The default URL can be overriden using
the environment variable FIS_BINARY_SITE,
.npmrc variable FIS_binary_site or
or a command line option --fis-binary-site:

node scripts/install.js --fis-binary-site http://example.com/

The URL should to the mirror of the repository
laid out as follows:

FIS_BINARY_SITE/

v3.0.0
v3.0.0/freebsd-x64-14_binding.node
....
v3.0.0
v3.0.0/freebsd-ia32-11_binding.node
v3.0.0/freebsd-x64-42_binding.node
... etc. for all supported versions and platforms

@api public
Determine the URL to fetch binary file from . By default fetch from the addon for fis distribution site on GitHub .