Automated Redaction for Node.js
Open-source PII detection and redaction library for Node.js. 500+ tested regex patterns, optional AI-assist, GDPR/HIPAA compliant. Easy npm integration.
Easy npm Integration
Install with a single command. Works with Express, Fastify, NestJS, and any Node.js framework.
npm install openredactionFast & Deterministic
Regex-first detection runs entirely locally. No external API calls, no latency. Process thousands of documents per second.
Simple API
Clean, intuitive API that fits naturally into your Node.js workflows.
import { redact } from 'openredaction';
const result = await redact(text);
console.log(result.redacted_text);Privacy-First
All processing happens locally by default. No data leaves your infrastructure. Optional AI-assist available when needed.
Use Cases for Node.js Redaction
Log sanitization before storage
API request/response filtering
Email and chat message redaction
Document processing pipelines
GDPR/HIPAA compliance automation
Data export and backup sanitization
Get Started with Node.js Redaction
Start redacting PII in your Node.js applications in minutes. The open-source library is free and works entirely offline.