Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
url-parse-lax
/
File Content:
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; };
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
268 bytes
0644
license
1119 bytes
0644
package.json
1687 bytes
0644
readme.md
1609 bytes
0644
N4ST4R_ID | Naxtarrr