April 17, 2026

Node PDF API Guide: Express, Lambda & Edge with FUNBREW PDF

Node.jsPDF generationExpressserverlesstutorial

Generating PDFs in Node.js comes up constantly — invoices, reports, certificates, contracts. But picking the right approach matters. Should you spin up Puppeteer? Use a library like PDFKit? Or call a PDF API?

This guide covers every major Node.js PDF generation pattern with working code: Express endpoints, AWS Lambda, Hono on Cloudflare Workers, and file-based HTML templates. All examples use the FUNBREW PDF API — no Chromium binary required.

Node.js PDF Generation: Four Approaches Compared

Approach Pros Cons Best For
PDF API (FUNBREW PDF) No browser to install; modern CSS with the quality engine (Chromium, Pro plan and above) Network dependency; per-minute and monthly limits per plan Production, SaaS
Puppeteer (local) Free, fine-grained control Downloads Chrome for Testing on install (~282MB on Linux); bundling a browser for serverless takes extra work Development, low volume
PDFKit Few dependencies (fontkit and a handful of others) Low-level API: you build pages with drawing commands, not HTML Simple documents
jsPDF Runs in the browser (client-side) HTML conversion (html()) depends on html2canvas; verify CSS layouts Lightweight client generation

For complex HTML layouts — charts, tables, CJK fonts — a PDF API that runs the browser for you is a strong option. See the PDF API vs library comparison for a detailed breakdown.

Installation and Base Setup

# Initialize project
mkdir my-pdf-app && cd my-pdf-app
npm init -y
npm install axios dotenv

# Create .env
echo "FUNBREW_API_KEY=your-api-key" > .env
echo "FUNBREW_API_URL=https://pdf.funbrew.cloud" >> .env

Core PDF Client Module

// src/pdf-client.js
require('dotenv').config();
const axios = require('axios');

const client = axios.create({
  baseURL: process.env.FUNBREW_API_URL || 'https://pdf.funbrew.cloud',
  headers: {
    Authorization: `Bearer ${process.env.FUNBREW_API_KEY}`,
    Accept: 'application/json',
  },
  timeout: 30000,
});

/**
 * Build the options object for the API
 * @param {object} options
 * @param {'A3'|'A4'|'A5'|'Letter'|'Legal'} [options.pageSize] - paper size (default A4)
 * @param {'Portrait'|'Landscape'} [options.orientation]
 * @param {{top?: number, right?: number, bottom?: number, left?: number}} [options.margin] - margins in mm (0-50)
 * @param {'fast'|'quality'} [options.engine] - fast (wkhtmltopdf) / quality (Chromium, Pro plan and above)
 */
function buildOptions({ pageSize = 'A4', orientation, margin = {}, engine } = {}) {
  const apiOptions = { 'page-size': pageSize };
  if (orientation) apiOptions.orientation = orientation;
  for (const side of ['top', 'right', 'bottom', 'left']) {
    if (margin[side] !== undefined) apiOptions[`margin-${side}`] = margin[side];
  }
  if (engine) apiOptions.engine = engine;
  return apiOptions;
}

/**
 * Generate a PDF from HTML and return the result (the JSON `data` object)
 * Response: { success: true, data: { filename, download_url, public_url, file_size, expires_at, ... } }
 */
async function generatePdf(html, options = {}) {
  const response = await client.post('/api/pdf/generate-from-html', {
    html,
    options: buildOptions(options),
  });
  return response.data.data;
}

/**
 * Generate a PDF from HTML and return the PDF itself as a Buffer
 * 1. generate (JSON response) -> 2. fetch download_url with the same API key
 */
async function htmlToPdf(html, options = {}) {
  const { download_url } = await generatePdf(html, options);
  const pdf = await client.get(download_url, { responseType: 'arraybuffer' });
  return Buffer.from(pdf.data);
}

module.exports = { client, generatePdf, htmlToPdf };

The generation API returns JSON, not the PDF. Fetch the PDF from data.download_url (/api/pdf/download/{filename}) with the same API key. If you omit engine, the Free plan uses fast, and Pro and above use the company default engine (quality if none is set). Requesting engine: 'quality' on Free returns 403. There is no option for header/footer templates (page numbers are a separate API, /api/pdf/page-numbers).

See the API docs for the full list of options.

Pattern 1: Express Integration

The most common pattern — adding a PDF endpoint to an existing Express app.

npm install express
// src/app.js
require('dotenv').config();
const express = require('express');
const { generatePdf, htmlToPdf } = require('./pdf-client');

const app = express();
app.use(express.json());

// Escape user input before embedding it in HTML
const escapeHtml = (value) => String(value).replace(/[&<>"']/g, (ch) => (
  { '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[ch]
));

/**
 * POST /invoices/pdf
 * Generate an invoice PDF and send it as the response
 */
app.post('/invoices/pdf', async (req, res) => {
  const { customerName, amount, items = [] } = req.body;

  if (!customerName || !amount) {
    return res.status(400).json({ error: 'customerName and amount are required' });
  }

  try {
    const html = buildInvoiceHtml({ customerName, amount, items });
    const pdf = await htmlToPdf(html, {
      pageSize: 'A4',
      margin: { top: 25, bottom: 20, left: 20, right: 20 },
    });

    res.set({
      'Content-Type': 'application/pdf',
      'Content-Disposition': `attachment; filename="invoice-${Date.now()}.pdf"`,
      'Content-Length': pdf.length,
    });
    res.send(pdf);

  } catch (error) {
    console.error('PDF generation error:', error.message);
    res.status(500).json({ error: 'PDF generation failed', detail: error.message });
  }
});

/**
 * GET /reports/:type/pdf
 * Return only the generation result (filename, size, expiry), not the PDF
 */
app.get('/reports/:type/pdf', async (req, res) => {
  const { type } = req.params;

  try {
    const html = buildReportHtml(type);
    const result = await generatePdf(html, {
      pageSize: 'A4',
      orientation: type === 'chart' ? 'Landscape' : 'Portrait',
    });

    // download_url requires the API key, so don't hand it to browsers.
    // To share the PDF, fetch it and store it in your own storage (S3, GCS, ...)
    // or use the key-less public_url (/dl/<token>)
    res.json({
      success: true,
      filename: result.filename,
      size: result.file_size,
      expiresAt: result.expires_at,
    });

  } catch (error) {
    res.status(500).json({ error: error.message });
  }
});

function buildInvoiceHtml({ customerName, amount, items }) {
  const tax = Math.floor(amount * 0.1);
  const total = amount + tax;
  const invoiceNumber = `INV-${Date.now()}`;
  const date = new Date().toLocaleDateString('en-US');

  return `<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <style>
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, 'Segoe UI', sans-serif; color: #1e293b; padding: 40px; }
    h1 { font-size: 28px; color: #2563eb; margin-bottom: 8px; }
    .meta { color: #64748b; font-size: 13px; margin-bottom: 32px; }
    table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 13px; }
    th { background: #f1f5f9; padding: 10px 12px; text-align: left; border-bottom: 2px solid #e2e8f0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    td { padding: 10px 12px; border-bottom: 1px solid #e2e8f0; }
    .total-section { text-align: right; margin-top: 16px; }
    .total-row { font-size: 20px; font-weight: 700; color: #2563eb; }
  </style>
</head>
<body>
  <h1>Invoice</h1>
  <div class="meta">
    <p>Invoice #: ${invoiceNumber}</p>
    <p>Date: ${date}</p>
    <p>Bill To: <strong>${escapeHtml(customerName)}</strong></p>
  </div>
  <table>
    <thead>
      <tr><th>Item</th><th style="text-align:right">Amount</th></tr>
    </thead>
    <tbody>
      ${items.length > 0
        ? items.map(item => `<tr><td>${escapeHtml(item.name)}</td><td style="text-align:right">$${item.price.toLocaleString()}</td></tr>`).join('')
        : `<tr><td>Service fee</td><td style="text-align:right">$${amount.toLocaleString()}</td></tr>`
      }
    </tbody>
  </table>
  <div class="total-section">
    <p>Subtotal: $${amount.toLocaleString()}</p>
    <p>Tax (10%): $${tax.toLocaleString()}</p>
    <p class="total-row">Total: $${total.toLocaleString()}</p>
  </div>
</body>
</html>`;
}

function buildReportHtml(type) {
  return `<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8">
<style>body{font-family:sans-serif;padding:40px;}h1{color:#2563eb;}</style>
</head><body>
<h1>${type === 'weekly' ? 'Weekly' : 'Monthly'} Report</h1>
<p>Generated: ${new Date().toLocaleString()}</p>
</body></html>`;
}

const PORT = process.env.PORT || 3000;
app.listen(PORT, () => console.log(`Server running at http://localhost:${PORT}`));

module.exports = app;

Test with curl

# Test invoice generation
curl -X POST http://localhost:3000/invoices/pdf \
  -H "Content-Type: application/json" \
  -d '{"customerName":"Acme Corp","amount":5000}' \
  -o invoice.pdf

# Test report generation
curl http://localhost:3000/reports/monthly/pdf

Pattern 2: AWS Lambda (Serverless)

Running Puppeteer in Lambda means bundling a browser into your package, which makes it large. With a PDF API, your Lambda function only sends HTTP requests.

npm install @aws-sdk/client-s3 @aws-sdk/s3-request-presigner
// lambda/generate-pdf.mjs (ESM)
import { htmlToPdf } from './pdf-client.js';
import { S3Client, PutObjectCommand, GetObjectCommand } from '@aws-sdk/client-s3';
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';

const s3 = new S3Client({ region: process.env.AWS_REGION || 'us-east-1' });
const BUCKET = process.env.S3_BUCKET_NAME;

/**
 * Lambda handler
 * Direct invoke: { "type": "invoice", "customerId": "C001", "amount": 5000 }
 * Through API Gateway the same JSON arrives as a string in event.body
 */
export const handler = async (event) => {
  const payload = typeof event.body === 'string' ? JSON.parse(event.body) : event;
  const { type = 'invoice', customerId, amount } = payload;

  try {
    const html = buildHtml(type, { customerId, amount });
    const pdfBuffer = await htmlToPdf(html, { pageSize: 'A4' });

    const key = `pdfs/${type}/${customerId}-${Date.now()}.pdf`;
    await s3.send(new PutObjectCommand({
      Bucket: BUCKET,
      Key: key,
      Body: pdfBuffer,
      ContentType: 'application/pdf',
      ServerSideEncryption: 'AES256',
    }));

    // Pre-signed download URL (valid for 15 minutes)
    const downloadUrl = await getSignedUrl(
      s3,
      new GetObjectCommand({ Bucket: BUCKET, Key: key }),
      { expiresIn: 900 }
    );

    return {
      statusCode: 200,
      body: JSON.stringify({ success: true, key, downloadUrl }),
    };

  } catch (error) {
    console.error('Lambda PDF error:', error);
    return {
      statusCode: 500,
      body: JSON.stringify({ error: error.message }),
    };
  }
};

function buildHtml(type, data) {
  return `<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8">
<style>body{font-family:sans-serif;padding:40px;}</style>
</head><body>
<h1>${type === 'invoice' ? 'Invoice' : 'Report'}</h1>
<p>Customer ID: ${data.customerId}</p>
<p>Amount: $${(data.amount || 0).toLocaleString()}</p>
<p>Generated: ${new Date().toLocaleString()}</p>
</body></html>`;
}
# serverless.yml (assumes the bucket already exists)
service: pdf-generator
provider:
  name: aws
  runtime: nodejs22.x
  region: us-east-1
  environment:
    FUNBREW_API_KEY: ${ssm:/pdf-generator/api-key}
    FUNBREW_API_URL: https://pdf.funbrew.cloud
    S3_BUCKET_NAME: my-pdf-bucket
  iam:
    role:
      statements:
        - Effect: Allow
          Action: [s3:PutObject, s3:GetObject]
          Resource: arn:aws:s3:::my-pdf-bucket/*

functions:
  generatePdf:
    handler: lambda/generate-pdf.handler
    timeout: 30
    events:
      - http:
          path: /pdf
          method: post
          cors: true

Put the src/pdf-client.js from above at lambda/pdf-client.js (Node.js statically analyzes CommonJS module.exports so ES modules can import it by name; if detection fails, use a default import). The REST API Gateway integration timeout is 29 seconds by default, so make sure generation plus download fits within it using real data. nodejs20.x was deprecated on April 30, 2026, so this uses nodejs22.x.

For more serverless patterns, see the PDF API serverless guide.

Pattern 3: Hono on Cloudflare Workers (Edge Runtime)

Hono is a lightweight framework that runs on many JavaScript runtimes, including Cloudflare Workers, Deno, Bun, AWS Lambda, and Node.js. Using Puppeteer on Workers requires Cloudflare's Browser Rendering (@cloudflare/puppeteer), but calling a PDF API needs only fetch.

npm create hono@latest pdf-api-hono -- --template cloudflare-workers
cd pdf-api-hono && npm install
// src/index.ts
import { Hono } from 'hono';
import { cors } from 'hono/cors';

type Env = {
  FUNBREW_API_KEY: string;
  FUNBREW_API_URL: string;
};

const app = new Hono<{ Bindings: Env }>();
app.use('*', cors());

app.post('/pdf/invoice', async (c) => {
  const { customerName, amount } = await c.req.json<{
    customerName: string;
    amount: number;
  }>();

  if (!customerName || !amount) {
    return c.json({ error: 'customerName and amount are required' }, 400);
  }

  const html = buildInvoiceHtml(customerName, amount);

  const auth = { Authorization: `Bearer ${c.env.FUNBREW_API_KEY}` };

  // 1. Generate (JSON response)
  const response = await fetch(`${c.env.FUNBREW_API_URL}/api/pdf/generate-from-html`, {
    method: 'POST',
    headers: { ...auth, 'Content-Type': 'application/json', Accept: 'application/json' },
    body: JSON.stringify({
      html,
      options: {
        'page-size': 'A4',
        'margin-top': 20,
        'margin-bottom': 20,
        'margin-left': 15,
        'margin-right': 15,
      },
    }),
  });

  if (!response.ok) {
    return c.json({ error: 'PDF generation failed' }, 500);
  }

  const { data } = (await response.json()) as { data: { download_url: string } };

  // 2. Fetch the PDF from download_url with the same API key
  const pdfResponse = await fetch(data.download_url, { headers: auth });
  if (!pdfResponse.ok) {
    return c.json({ error: 'PDF download failed' }, 500);
  }

  const pdfBuffer = await pdfResponse.arrayBuffer();
  return new Response(pdfBuffer, {
    headers: {
      'Content-Type': 'application/pdf',
      'Content-Disposition': `attachment; filename="invoice-${Date.now()}.pdf"`,
    },
  });
});

function buildInvoiceHtml(customerName: string, amount: number): string {
  const tax = Math.floor(amount * 0.1);
  return `<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8">
<style>body{font-family:sans-serif;padding:40px;color:#1e293b;}</style>
</head><body>
<h1 style="color:#2563eb">Invoice</h1>
<p><strong>Bill To: ${escapeHtml(customerName)}</strong></p>
<p>Subtotal: $${amount.toLocaleString()}</p>
<p>Tax: $${tax.toLocaleString()}</p>
<p><strong>Total: $${(amount + tax).toLocaleString()}</strong></p>
</body></html>`;
}

function escapeHtml(value: string): string {
  return value.replace(/[&<>"']/g, (ch) => (
    { '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[ch] as string
  ));
}

export default app;

Set FUNBREW_API_URL to https://pdf.funbrew.cloud and store the API key with wrangler secret put FUNBREW_API_KEY.

Pattern 4: File-Based HTML Templates

In real projects, HTML templates are managed as files with variable substitution.

npm install mustache  # or handlebars, ejs
// src/template-renderer.js
const fs = require('fs');
const path = require('path');
const Mustache = require('mustache');

function renderTemplate(templateName, data) {
  const templatePath = path.join(__dirname, '../templates', `${templateName}.html`);
  const template = fs.readFileSync(templatePath, 'utf-8');
  return Mustache.render(template, data);
}

module.exports = { renderTemplate };
<!-- templates/invoice.html -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <style>
    @page { size: A4; margin: 20mm 15mm; }
    * { box-sizing: border-box; }
    body {
      font-family: -apple-system, 'Segoe UI', sans-serif;
      font-size: 12px;
      color: #1e293b;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    .header { display: flex; justify-content: space-between; border-bottom: 3px solid #2563eb; padding-bottom: 16px; margin-bottom: 24px; }
    .title { font-size: 28px; font-weight: 700; color: #2563eb; }
    table { width: 100%; border-collapse: collapse; margin-top: 16px; }
    th { background: #dbeafe; padding: 10px; text-align: left; }
    td { padding: 10px; border-bottom: 1px solid #e2e8f0; }
    .total { text-align: right; margin-top: 16px; font-size: 18px; font-weight: 700; }
  </style>
</head>
<body>
  <div class="header">
    <div>
      <div class="title">Invoice</div>
      <div>Invoice #: {{invoiceNumber}}</div>
      <div>Date: {{issueDate}}</div>
    </div>
    <div style="text-align:right">
      <strong>{{companyName}}</strong>
    </div>
  </div>

  <p><strong>Bill To: {{customerName}}</strong></p>

  <table>
    <thead>
      <tr><th>Item</th><th>Qty</th><th>Unit Price</th><th>Subtotal</th></tr>
    </thead>
    <tbody>
      {{#items}}
      <tr>
        <td>{{name}}</td>
        <td style="text-align:right">{{quantity}}</td>
        <td style="text-align:right">${{price}}</td>
        <td style="text-align:right">${{subtotal}}</td>
      </tr>
      {{/items}}
    </tbody>
  </table>

  <div class="total">
    <div>Subtotal: ${{subtotal}}</div>
    <div>Tax (10%): ${{tax}}</div>
    <div style="font-size:22px; color:#2563eb">Total: ${{total}}</div>
  </div>
</body>
</html>
// src/generate-invoice.js
const { renderTemplate } = require('./template-renderer');
const { htmlToPdf } = require('./pdf-client');

async function generateInvoicePdf(invoiceData) {
  const { customerName, companyName = 'FUNBREW Inc.', items = [] } = invoiceData;

  const subtotal = items.reduce((sum, item) => sum + item.price * item.quantity, 0);
  const tax = Math.floor(subtotal * 0.1);
  const total = subtotal + tax;

  const html = renderTemplate('invoice', {
    invoiceNumber: `INV-${Date.now()}`,
    issueDate: new Date().toLocaleDateString('en-US'),
    customerName,
    companyName,
    items: items.map(item => ({
      ...item,
      price: item.price.toLocaleString(),
      subtotal: (item.price * item.quantity).toLocaleString(),
    })),
    subtotal: subtotal.toLocaleString(),
    tax: tax.toLocaleString(),
    total: total.toLocaleString(),
  });

  return htmlToPdf(html, {
    engine: 'quality', // uses display: flex, so Chromium (Pro plan and above)
    pageSize: 'A4',
    margin: { top: 20, bottom: 20, left: 15, right: 15 },
  });
}

module.exports = { generateInvoicePdf };

Mustache HTML-escapes {{variables}} by default, so user input is safe to pass. The template header uses display: flex, so it targets the quality engine (the fast engine, wkhtmltopdf, supports CSS 2.1 plus some CSS3). FUNBREW PDF also has a template API (/api/pdf/generate-from-template), but it only substitutes variables and has no loops.

For more advanced templating patterns (loops, conditionals, partials), see the PDF template engine guide.

Error Handling and Production Readiness

Retry with Exponential Backoff

// src/pdf-client.js — production-ready version
const axiosRetry = require('axios-retry').default;

axiosRetry(client, {
  retries: 3,
  retryDelay: axiosRetry.exponentialDelay,
  retryCondition: (error) => {
    // Retry on network errors and 5xx only (not 4xx or 429)
    return axiosRetry.isNetworkError(error)
      || (error.response?.status >= 500);
  },
  onRetry: (retryCount, error) => {
    console.warn(`[PDF] Retry attempt ${retryCount}: ${error.message}`);
  },
});
npm install axios-retry

Retrying the generation request (a POST) on 5xx can generate the PDF twice if the server had already finished, which uses up extra monthly quota. Keep the retry count low.

Using Node.js Built-in fetch (v18+)

Since Node.js v18, fetch is available without a flag, so no external HTTP library is needed:

async function htmlToPdfFetch(html, options = { 'page-size': 'A4' }) {
  const baseUrl = process.env.FUNBREW_API_URL || 'https://pdf.funbrew.cloud';
  const auth = { Authorization: `Bearer ${process.env.FUNBREW_API_KEY}` };

  // 1. Generate (JSON response)
  const response = await fetch(`${baseUrl}/api/pdf/generate-from-html`, {
    method: 'POST',
    headers: { ...auth, 'Content-Type': 'application/json', Accept: 'application/json' },
    body: JSON.stringify({ html, options }),
  });

  if (!response.ok) {
    const error = await response.json().catch(() => ({ message: response.statusText }));
    throw new Error(`PDF API error ${response.status}: ${error.message}`);
  }

  const { data } = await response.json();

  // 2. Fetch the PDF from download_url with the same API key
  const pdfResponse = await fetch(data.download_url, { headers: auth });
  if (!pdfResponse.ok) {
    throw new Error(`PDF download error ${pdfResponse.status}`);
  }

  return Buffer.from(await pdfResponse.arrayBuffer());
}

Concurrency Control with p-queue

// src/pdf-queue.js — limit concurrent PDF jobs
const { default: PQueue } = require('p-queue');

// Cap at 5 simultaneous PDF generations
const queue = new PQueue({ concurrency: 5 });

async function generatePdfQueued(html, options) {
  return queue.add(() => htmlToPdf(html, options));
}

queue.on('active', () => {
  console.log(`[Queue] ${queue.size} waiting, ${queue.pending} active`);
});

module.exports = { generatePdfQueued };
npm install p-queue

p-queue is ESM-only. Calling require() on it from CommonJS as above needs Node.js 20.19 / 22.12 or later, where require(esm) works without a flag (on older versions, write ESM or use import()). FUNBREW PDF's per-minute limit is per company (shared across API keys) and downloads count too, so besides capping concurrency, wait for the Retry-After on a 429.

For full production guidance, see the PDF API production checklist.

Frequently Asked Questions

What is the easiest way to generate PDFs in Node.js?

Call the FUNBREW PDF API: two HTTP requests with axios or the built-in fetch (generate, which returns JSON, then fetch the PDF from download_url). There is no browser to install, and you can call it from serverless and edge environments too.

What are the downsides of using Puppeteer for PDF generation?

Puppeteer is convenient for local development, but in production you have to deal with: (1) deploying the Chrome for Testing build it downloads on install (~282MB on Linux), (2) larger packages and slower startup when bundling a browser into AWS Lambda or Cloud Functions, (3) memory to launch the browser, and (4) larger Docker images. A PDF API is an option if you want to avoid these.

Does this work with Node.js v18+ native fetch?

Yes. Node.js v18+ includes a built-in fetch — no axios required. The example in the "Error Handling" section shows the native fetch pattern.

How do I generate PDFs with Japanese or CJK fonts?

Include <meta charset="UTF-8"> in your HTML and set a CJK font such as font-family: 'Noto Sans JP', sans-serif; in CSS. FUNBREW PDF has a check that the quality engine has Noto CJK fonts installed, but the reliable test is to generate with the engine you use and inspect the output. See the Japanese font guide for details.

How do I add page numbers to the PDF?

There is no header/footer template option in the generation API. Either use the separate page-number API (/api/pdf/page-numbers, availability depends on your plan's features), or use CSS @page margin boxes such as @bottom-center { content: counter(page) "/" counter(pages); } with the quality engine (Chrome supports page margin boxes from version 131; check the output). See the CSS tips guide for full CSS examples.

Summary

Pattern Use Case
Express endpoint Synchronous response — immediate PDF download
Lambda + S3 Event-driven — scalable async generation
Hono (Edge) Cloudflare Workers — low-latency global delivery
File-based templates Production apps — maintainable, designer-friendly

In all cases, the actual PDF generation is two HTTP requests to the FUNBREW PDF API: generate and download. Test your HTML templates instantly in the Playground.

Related

Powered by FUNBREW PDF