'use strict';
module.exports = function (scope) {
	var rc = require('rc')('npm');
	return rc[scope + ':registry'] ||
		rc.registry || 'https://registry.npmjs.org/';
};

'use strict';
module.exports = function (scope) {
	var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'});
	return rc[scope + ':registry'] || rc.registry;
};

Make it work in browsers
Make it work in browsers
