maskurl

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i maskurl

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators