projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5502a235ab33cc581f4ef47723f5d7f11eee57af
[dotfiles/.git]
/
index.js
1
'use strict';
2
module.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
};