Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
pacote
/
lib
/
fetchers
/
registry
/
File Content:
pick-registry.js
'use strict' module.exports = pickRegistry function pickRegistry (spec, opts) { let registry = spec.scope && opts.scopeTargets[spec.scope] if (!registry && opts.scope) { const prefix = opts.scope[0] === '@' ? '' : '@' registry = opts.scopeTargets[prefix + opts.scope] } if (!registry) { registry = opts.registry } return registry }
Submit
FILE
FOLDER
Name
Size
Permission
Action
check-warning-header.js
1216 bytes
0644
fetch.js
3183 bytes
0644
index.js
584 bytes
0644
manifest.js
4387 bytes
0644
pick-registry.js
360 bytes
0644
registry-key.js
410 bytes
0644
tarball.js
2613 bytes
0644
N4ST4R_ID | Naxtarrr