terminal

Zero Retention PDF

Credits: --
V1.0 Stable Release

Zero Retention PDF
Engine.

Enterprise-grade HTML to PDF conversion with absolute data neutrality. Zero Retention processes your data in isolated RAM and purges it the microsecond the stream closes.

lock_person

The Zero Retention PDF Shield

Engineered for Fintech and Healthtech compliance. We do not use persistent storage (HDD/SSD). Every conversion happens in an ephemeral RAM disk that is hardware-wiped after every request.

verified_user HIPAA / GDPR Compliant
memory RAM-Only Execution

API Playground

input.html
<div class="invoice-box"> <h1>Invoice #4920</h1> <p>Status: PAID</p> <!-- Zero Retention PDF Active --> </div>
shield_locked Enterprise Features

Real-time PDF Preview

Implementation

// Initialize client
const client = require('@zeroretention/sdk');

// Generate Zero Retention PDF
const pdf = await client.render({
  html: '<h1>Hello Secure World</h1>',
  options: {
    retention: 0, // Instant RAM purge
    encryption: 'AES-256-GCM',
    password: 'secure_pass_123', // Enterprise encryption
    headerTemplate: '<div style="font-size:10px">Confidential</div>'
  }
});

pdf.pipe(res); // Data leaves RAM, gone forever.
verified_user HIPAA
health_and_safety SOC2 Type II
gpp_good GDPR Ready
security ISO 27001

Authentication

The Zero Retention PDF API requires an API key for all requests. Your API key must be passed in the x-api-key header.

Headers: { "x-api-key": "your_api_key_here" }

Endpoints

POST /v1/pdf Generate a PDF from HTML

Payload Parameters

  • html (string, required) - The raw HTML string to convert.
  • password (string, optional) - AES-256 password to encrypt the PDF.
  • headerTemplate (string, optional) - HTML template for the PDF header.
  • footerTemplate (string, optional) - HTML template for the PDF footer.

Privacy & Security

memory

Ephemeral Processing

All HTML payloads are processed entirely in RAM. We utilize headless chromium instances connected via secure websocket pipes, ensuring data never touches a physical disk.

delete_forever

Zero Retention

The generated PDF buffer is piped directly back to the requesting client. Once the TCP stream closes, the RAM allocation is purged instantly.