Skip to content
saleban olow edited this page Apr 24, 2025 · 2 revisions

Purgo Wiki

Welcome to the official Purgo wiki! This wiki contains detailed documentation about Purgo, a zero-config, client-side log-scrubbing library that prevents Protected Health Information (PHI) from leaking into browser consoles, DevTools, and network debuggers.

Quick Navigation

What is Purgo?

Purgo is a lightweight, zero-configuration library designed to help healthcare applications comply with HIPAA regulations by automatically redacting sensitive information from logs and network requests.

Key Features

  • 🔒 HIPAA-Friendly: Automatically redacts PHI from logs and network requests
  • 🪶 Lightweight: < 7 kB gzip
  • Fast: < 3% runtime overhead
  • 🔌 Zero-Config: Works out-of-the-box with React, Next.js, Vue, and vanilla JS
  • 🧩 Extensible: Add custom patterns and redaction strategies

Getting Started

npm install purgo
// Just import it - that's it!
import 'purgo';

// Now all console logs and network requests will be automatically scrubbed
console.log('Patient email: patient@example.com'); // Outputs: "Patient email: ***"

For more detailed information, please explore the wiki pages linked above.

Clone this wiki locally