Single-file Node.js/TypeScript PII masking engine — detection + masking + tokenization, with streaming, Express middleware, risk scoring, and structure-aware (JSON/HTML/Markdown) helpers
The canonical ChatPanel privacy engine — reversible PII redaction + pseudonymization with local entity detection. Pure, dependency-free ESM shared by the ChatPanel extension, gateway, and bridge.
Pipedream API4AI Components