Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
pacote
/
lib
/
fetchers
/
registry
/
File Content:
registry-key.js
'use strict' const url = require('url') // Called a nerf dart in the main codebase. Used as a "safe" // key when fetching registry info from config. module.exports = registryKey function registryKey (registry) { const parsed = url.parse(registry) const formatted = url.format({ host: parsed.host, pathname: parsed.pathname, slashes: parsed.slashes }) return url.resolve(formatted, '.') }
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