First Commit
This commit is contained in:
commit
601e886c14
2123 files changed
+334815
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
module.exports = function (scope) {
|
||||
var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'});
|
||||
var url = rc[scope + ':registry'] || rc.registry;
|
||||
return url.slice(-1) === '/' ? url : url + '/';
|
||||
};
|
||||
Reference in new issue
Block a user