Node's core url module with username+password properties.
This code is not mine, I just want an easy way to use it while the PR is in flight. ben-page deserves all the credit -- see nodejs/node-v0.x-archive#25353 and nodejs/node-v0.x-archive#25359 .
npm install urlurl
var urlurl = require('urlurl');
Please follow our Code of Conduct when contributing to this project.
$ git clone https://github.com/goodeggs/urlurl && cd urlurl
$ npm install
$ npm test
Module scaffold generated by generator-goodeggs-npm.