url-auth-redactor
v1.0.2
Published
redacts parts of urls
Downloads
703
Readme
node-url-auth-redactor
Redacts the auth:password part of url strings
Usage
const redactor = require('url-auth-redactor')
const url = 'https://user:[email protected]'
const redactedUrl = redactor(url)
// 'https://user:****@example.com'