npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

stitchpdf-premium

v1.0.2

Published

Premium PDF processing capabilities via secure API access - PDF optimization, mail merge, and advanced features.

Readme

💎 stitchPDF Premium

Advanced PDF processing capabilities with enterprise-grade features. Built on the reliable stitchPDF foundation with premium functionality for commercial applications.

🚀 Premium Features

  • 🔥 Real PDF Optimization - 90%+ compression using Ghostscript
  • 📧 Advanced Mail Merge - Create personalized documents with data
  • ⚡ Bulk Processing - Process multiple files simultaneously
  • 📄 Advanced Page Operations - Insert, merge, split with precision
  • 🛡️ Enterprise Security - Advanced validation and scanning
  • 🏢 Commercial License - Full commercial usage rights
  • 📞 Priority Support - Direct access to the development team

⚙️ Installation

npm install stitchpdf-premium

Requires License Key - Contact us for your premium license.

🎯 Quick Start

import StitchPDFPremium from 'stitchpdf-premium';

// Initialize with your license key
const pdf = new StitchPDFPremium({
  apiKey: 'your-license-key-here'
});

// Real PDF optimization with 90%+ compression
const optimized = await pdf.optimize('large-file.pdf', {
  compressionLevel: 'high',
  quality: 'balanced'
});

console.log(`Saved ${optimized.savingsPercent}%!`); // e.g., "Saved 94.6%!"

// Advanced mail merge
const merged = await pdf.mailMerge('template.pdf', {
  data: [
    { name: 'John Doe', company: 'Acme Corp' },
    { name: 'Jane Smith', company: 'Tech Ltd' }
  ],
  outputDir: './output'
});

// Bulk processing
const results = await pdf.processBatch([
  'file1.pdf',
  'file2.pdf', 
  'file3.pdf'
], {
  operation: 'optimize',
  compressionLevel: 'medium'
});

📊 Real Performance Results

Premium optimization delivers actual results where other tools fail:

| File Type | Original Size | Optimized Size | Savings | Time | |-----------|---------------|----------------|---------|------| | Insurance Documents | 65.3 MB | 3.6 MB | 94.6% | 12s | | Technical Manuals | 723.0 MB | 79.1 MB | 89.1% | 45s | | Report Collections | 2.0 GB | ~200 MB | 90%+ | 3m | | Enterprise Files | 263.2 MB | 85.1 MB | 67.7% | 45s |

vs. pdf-lib: 0.9% savings (BROKEN)
vs. stitchPDF Premium: 90%+ savings (WORKS!)

🛠️ API Reference

PDF Optimization

// Basic optimization
const result = await pdf.optimize('input.pdf');

// Advanced optimization with options
const result = await pdf.optimize('input.pdf', {
  compressionLevel: 'high',    // 'low', 'medium', 'high'
  optimizeImages: true,
  optimizeFonts: true,
  removeMetadata: true,
  quality: 'balanced',         // 'maximum', 'balanced', 'minimum'
  outputPath: 'optimized.pdf'
});

Mail Merge

// Single document mail merge
const result = await pdf.mailMerge('template.pdf', {
  data: { name: 'John', company: 'Acme' },
  outputPath: 'personalized.pdf'
});

// Batch mail merge
const results = await pdf.mailMergeBatch('template.pdf', {
  data: [
    { name: 'John', company: 'Acme' },
    { name: 'Jane', company: 'Tech' }
  ],
  outputDir: './merged-docs',
  fileNameTemplate: '{name}-{company}.pdf'
});

Bulk Processing

// Process multiple files
const results = await pdf.processBatch([
  'doc1.pdf',
  'doc2.pdf',
  'doc3.pdf'
], {
  operation: 'optimize',
  compressionLevel: 'medium',
  outputDir: './optimized',
  concurrent: 3  // Process 3 files simultaneously
});

// Batch with different operations
const results = await pdf.processBatch(files, {
  operations: [
    { file: 'doc1.pdf', operation: 'optimize' },
    { file: 'doc2.pdf', operation: 'mailMerge', data: {...} }
  ]
});

💰 Pricing & Licensing

📞 Get Your Premium License
Contact: Peter Allain, Founder
Email: [email protected]
Subject: "stitchPDF Premium License Request"

Smart Pricing with Auto-Optimization

💎 Pro - $29/month

  • 1,000 operations included
  • $0.01 per additional operation
  • 10% grace buffer (100 free extra operations)
  • All premium features
  • Email support
  • Perfect for individual developers

🏢 Business - $99/month

  • 10,000 operations included
  • $0.008 per additional operation
  • 10% grace buffer (1,000 free extra operations)
  • All premium features
  • Priority email support
  • Team usage rights

🚀 Enterprise - $299/month

  • 50,000 operations included
  • $0.006 per additional operation
  • 10% grace buffer (5,000 free extra operations)
  • All premium features
  • Priority support
  • Custom integrations
  • Bulk processing optimized

🌟 Enterprise Unlimited - $999/month

  • Up to 650,000 operations (no overages)
  • Fair use policy with pricing renegotiation beyond 650K
  • All premium features
  • Dedicated support
  • Custom integrations
  • 24/7 priority support

How Smart Pricing Works

🎯 Occasional spikes? Pay overages once - perfect for variable workloads.
🎯 Consistent growth? We automatically upgrade you to a better tier after 2 consecutive overage months.
🎯 No gaming the system - Auto-upgrades ensure you're on the right tier for your usage.
🎯 Grace buffers prevent surprise charges for small overages.

🎁 Free 7-day trial included with every license!

What You Get:

  • Immediate access to all premium features
  • Commercial usage rights for your applications
  • Direct founder support - I personally help with setup
  • Regular updates and new features
  • No hidden fees - transparent pricing

🎯 Perfect For:

Developers & Agencies

  • Document automation in client applications
  • PDF optimization for web applications
  • Mail merge for personalized documents
  • Bulk processing for client projects

Businesses

  • Invoice generation with optimization
  • Report processing and compression
  • Document workflows and automation
  • Customer communications (mail merge)

Enterprises

  • High-volume document processing
  • Custom PDF workflows
  • Integration with existing systems
  • Reliable, scalable PDF operations

🚀 Getting Started

  1. Email me: [email protected] with "stitchPDF Premium License Request"
  2. Tell me your use case: What do you need to process and how much?
  3. Get your trial license: I'll send a 7-day trial key within 2 hours
  4. Start building: Full premium features available immediately
  5. Upgrade when ready: Simple monthly billing via Stripe

🔧 System Requirements

  • Node.js 18+
  • Ghostscript (for optimization - installation help provided)
  • Memory: 4GB+ recommended for bulk processing
  • License Key (obtained from [email protected])

📞 Support

Personal Founder Support
As the creator of stitchPDF, I personally support all premium customers:

  • Email: [email protected]
  • Response Time: Under 2 hours (often much faster)
  • Setup Help: I'll help you get up and running
  • Custom Solutions: Need something specific? Let's discuss it

🔗 Links


Ready to process PDFs like a pro? Email [email protected] to get started! 🚀