1.0.2 • Published 6 years ago
url-auth-redactor v1.0.2
node-url-auth-redactor
Redacts the auth:password part of url strings
Usage
const redactor = require('url-auth-redactor')
const url = 'https://user:password@example.com'
const redactedUrl = redactor(url)
// 'https://user:****@example.com'