maskurl

hide user password in a url for safe console and log output

maskurl

hide user password in a url for safe console and log output

$ npm install maskurl
var url = 'http://foo:dinosaurs@reptar.com/'

maskurl(url)
// => http://foo@reptar.com/

MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md.