Use DOMPurify on server and client in the same way
Framework-agnostic log sanitizer for browsers and Node.js. Redacts secrets and infrastructure identifiers with stable HMAC tokens so event correlation still works. Zero runtime dependencies, extensible rules, CLI included.