Releases: wrannaman/redactpii-node
Releases Β· wrannaman/redactpii-node
v1.0.0 - Initial Release
π Initial Release
Zero-dependency, blazing-fast regex-based PII redaction SDK for Node.js/TypeScript.
Features
- β‘ <1ms per operation - Optimized regex engine
- π Zero dependencies - Pure TypeScript, no bloat
- π‘οΈ Dashboard integration - Optional SOC 2/HIPAA audit trails
- π€ AI/LLM ready - Protect PII before it hits OpenAI, Anthropic, or LangChain
- π¦ TypeScript first - Full type safety and IDE support
PII Detection
Built-in patterns for:
- π€ Names (greeting-based detection)
- π§ Email addresses
- π Phone numbers (US formats)
- π³ Credit cards (Visa, Mastercard, Amex, Diners)
- π SSN (US Social Security Numbers)
Installation
ash
npm install @redactpii/node### Quick Start
import { Redactor } from '@redactpii/node';
const redactor = new Redactor();
const clean = redactor.redact('Hi David Johnson, call 555-555-5555');
// Result: "Hi PERSON_NAME, call PHONE_NUMBER"See README.md for full documentation.