url-safe
v2.0.0
Published
returns a url w/o the auth part for safe logging
Downloads
9,825
Readme
url-safe
npm i -S url-safe
var s = require('url-safe')
console.log(s('http://user:[email protected]'))
// http://example.com
console.log(s('http://user:[email protected]', '***'))
// http://***@example.com