exiftool-vendored
    Preparing search index...

    Installation Guide

    npm install exiftool-vendored
    
    • Node.js 20+ (Active LTS or Maintenance LTS versions only)
    • Works on macOS, Linux, and Windows
    • Most distributions: No additional setup required

    • Minimal distributions (Alpine, Docker slim): install perl

      # Alpine
      apk add perl

      # Debian/Ubuntu minimal
      apt-get install perl

    Use the full Node.js Docker image, not the -slim variant:

    # ✅ Good - includes perl
    FROM node:18

    # ❌ Bad - missing perl
    FROM node:18-slim

    If you must use slim images, install perl:

    FROM node:18-slim
    RUN apt-get update && apt-get install -y perl && rm -rf /var/lib/apt/lists/*
    FROM node:18

    WORKDIR /app
    COPY package*.json ./
    RUN npm ci --only=production

    COPY . .

    CMD ["node", "index.js"]

    ExifTool creates temporary files during processing. Ensure:

    • Adequate disk space in temp directory
    • Proper cleanup on application shutdown
    • Secure temp directory permissions

    After installation:

    1. Verify setup: Run exiftool.version() to confirm working installation
    2. Read the Usage Examples for common patterns
    3. Understand Tags to work with metadata effectively
    4. Add proper error handling and resource cleanup