Scrub basic auth credentials from your urls so they're safe urls
Want to see pretty graphs? Log in now!
npm install safe-url
|5||downloads in the last month|
|Last Published By|
|Version||0.0.0 last updated 2 years ago|
|License||same as https://github.com/mikeal/node.couchapp.js|
|Keywords||safe-url, safeUrl, basic, auth, print, url|
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.