%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/old/usr/lib/node_modules/npmconf/lib/
Upload File :
Create Path :
Current File : //data/old/usr/lib/node_modules/npmconf/lib/nerf-dart.js

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)
  parsed.pathname = "/"
  delete parsed.protocol
  delete parsed.auth

  return url.format(parsed)
}

Zerion Mini Shell 1.0