Piiranha
JSON →Piiranha v3.5.8 is a TypeScript library for removing personally identifiable information (PII) from text. It provides both synchronous and asynchronous APIs, built-in regex patterns for common PII types (names, emails, phone numbers, credit card numbers, IP addresses, SSNs, etc.), and supports custom redaction rules and replacement values. It is a maintained fork of solvvy/redact-pii, compiles to ES2016, and is tested on Node.js 18.x and 20.x. Key differentiators: dual sync/async API, customizable replacements, and extensible via custom regex or functions.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 4 distinct systems
last hit 23d ago GPTBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
packagepiiranha ↗