Want to print out urls with BASIC AUTH CREDS in them? Use this module to SCRUB THEM PUPPIES OUT.
> var safeUrl = require('./'); undefined > var url = 'https://iamauser:firstname.lastname@example.org' undefined > safeUrl(url) 'https://iamauser:******@this.is.my.couch.jesusabdullah.net' >
Thanks to Mikeal Rogers for putting this one-liner in his node couchapp module.
Same as node.couchapp.js. You'll have to ask Mikeal.