• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2module.exports = function (scope) {
3	var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'});
4	var url = rc[scope + ':registry'] || rc.registry;
5	return url.slice(-1) === '/' ? url : url + '/';
6};
7