112.23K
total weekly downloads
10 packages
openredaction
Production-ready PII detection and redaction for JavaScript/TypeScript. Regex-first, local-by-default, 570+ patterns.
@openredaction/cli
Command-line tool for PII detection, redaction, and pattern testing. Detects PII in text, scans for severity breakdowns, records feedback for adaptive learning, and exports/imports learned patterns.
@openredaction/core
Production-ready PII detection and redaction library with 571+ built-in patterns, multiple redaction modes, compliance presets, and optional enterprise-style modules. The published package lists **no required runtime dependencies**; optional peers (e.g. R
@openredaction/elysia
Elysia plugins for PII detection and redaction. Inspects request bodies, optionally auto-redacts fields, and attaches results to the Elysia context via `{ pii }` destructuring. Elysia is a peer dependency (`>=1.0.0`).
@openredaction/express
Express middleware and route handlers for PII detection and redaction. Inspects request bodies, optionally auto-redacts fields, and attaches results to `req.pii`. Express is a peer dependency (`>=4.18 || >=5`).
@openredaction/hono
Hono middleware and route handlers for PII detection and redaction. Inspects request bodies, optionally auto-redacts fields, and attaches results to the Hono context via `c.get("pii")`. Hono is a peer dependency (`>=4`).
@openredaction/openredact
Production-ready PII detection and redaction library
@openredaction/openredaction
Production-ready PII detection and redaction library with 558+ patterns, document processing, OCR, RBAC, and enterprise features
@openredaction/react
React hooks for client-side PII detection. Runs entirely in the browser — no server round-trip. React is a peer dependency (`>=18 || >=19`).
@openredaction/server
Zero-dependency Node.js HTTP servers for OpenRedaction: a REST API for PII detection/redaction and a Prometheus scrape endpoint. Uses Node's built-in `http` module — no Express, no framework.