maskurl

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

npm install maskurl
2 downloads in the last week
6 downloads in the last month

maskurl

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

installation

$ npm install maskurl

usage

var url = 'http://foo:dinosaurs@reptar.com/'

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

license

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

npm loves you