Your IP : 13.59.69.109


Current Path : /usr/lib/node_modules/npm/node_modules/url-parse-lax/
Upload File :
Current File : //usr/lib/node_modules/npm/node_modules/url-parse-lax/index.js

'use strict';
var url = require('url');
var prependHttp = require('prepend-http');

module.exports = function (x) {
	var withProtocol = prependHttp(x);
	var parsed = url.parse(withProtocol);

	if (withProtocol !== x) {
		parsed.protocol = null;
	}

	return parsed;
};

?>