'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = npmRegistryName;

var _constants;

function _load_constants() {
  return _constants = require('../../constants');
}

var _globalConfig;

function _load_globalConfig() {
  return _globalConfig = require('../../api/consumer/lib/global-config');
}

function npmRegistryName() {
  return (0, (_globalConfig || _load_globalConfig()).getSync)((_constants || _load_constants()).CFG_REGISTRY_DOMAIN_PREFIX) || (_constants || _load_constants()).DEFAULT_REGISTRY_DOMAIN_PREFIX;
}