Diagnostic, stderr, error, and bug report redaction.
In addition to high-confidence credential formats, filters keyword=value rules
(token=, password:, auth=) and redacts the local user home directory.
Parameters
value: unknown
Diagnostic message, Error, or structured object to redact.
budget: number = 4096
Maximum byte length for the returned diagnostic string (default 4096).
Diagnostic, stderr, error, and bug report redaction. In addition to high-confidence credential formats, filters keyword=value rules (token=, password:, auth=) and redacts the local user home directory.