r/npm • u/curious_ares • 2h ago
Self Promotion I built a zero-dependency TypeScript library that keeps secrets and PII out of logs and LLM prompts
Flare Redact scans text and nested objects locally, then masks API keys, tokens, credentials, and PII before they reach Pino, Winston, Express, OpenAI, or Anthropic.
Fully open source with zero runtime dependencies.
GitHub: https://github.com/umudhasanli/flare-redact
npm: https://www.npmjs.com/package/flare-redact