📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 17:28:59
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs22
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
@npmcli
/
config
/
lib
📍 /opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/config/lib
🔄 Refresh
✏️
Editing: nerf-dart.js
Read Only
const { URL } = require('node:url') /** * Maps a URL to an identifier. * * Name courtesy schiffertronix media LLC, a New Jersey corporation * * @param {String} uri The URL to be nerfed. * * @returns {String} A nerfed URL. */ module.exports = (url) => { const parsed = new URL(url) const from = `${parsed.protocol}//${parsed.host}${parsed.pathname}` const rel = new URL('.', from) const res = `//${rel.host}${rel.pathname}` return res }
💾 Save Changes
❌ Cancel