Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
registry-url
/
File Content:
index.js
'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 + '/'; };
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
228 bytes
0644
license
1119 bytes
0644
package.json
1677 bytes
0644
readme.md
1211 bytes
0644
N4ST4R_ID | Naxtarrr