redact-ai-stream 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,11 +5,16 @@
5
5
  ![Downloads](https://img.shields.io/npm/dm/redact-ai-stream)
6
6
  ![TypeScript](https://img.shields.io/badge/types-included-blue)
7
7
 
8
+ ![Redact AI Stream Hero](assets/redact_ai_stream_hero_1766409977618.png)
9
+
8
10
  **Bi-directional PII Redaction for AI Streams**
9
11
 
10
12
  `redact-ai-stream` is a lightweight, specialized Node.js library designed to secure your AI applications. It acts as a middleware layer, automatically redacting Personally Identifiable Information (PII) from data streams *before* they exit your secure boundary (e.g., to OpenAI, Anthropic), and transparently restoring that data in the incoming response stream.
11
13
 
14
+ ![How It Works](assets/redact_ai_stream_how_it_works_1766409909844.png)
15
+
12
16
  ## Why use this?
17
+
13
18
  When building RAG requests or chat interfaces, you often need to send user context to an LLM. However, sending raw email addresses, phone numbers, or credit card details violates privacy compliance (GDPR, CCPA) and security best practices. `redact-ai-stream` solves this by tokenizing sensitive data on the fly.
14
19
 
15
20
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redact-ai-stream",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Bi-directional PII redaction stream for AI applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",