Server : LiteSpeed System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : infihsqw ( 644) PHP Version : 8.1.29 Disable Function : NONE Directory : /lib/node_modules/npm/lib/config/ |
var url = require('url') module.exports = toNerfDart /** * 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. */ function toNerfDart (uri) { var parsed = url.parse(uri) delete parsed.protocol delete parsed.auth delete parsed.query delete parsed.search delete parsed.hash return url.resolve(url.format(parsed), '.') }