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

autoexif

v1.0.6

Published

CLI tool for removing excess EXIF data from images

Readme

autoexif

A specialized command-line utility that declutters EXIF metadata in digital images by preserving only the essential technical parameters while removing extraneous information about camera equipment, software, and other non-essential details.

Overview

Digital photographs typically contain extensive embedded metadata (EXIF data) that includes numerous parameters, many of which are irrelevant to the actual photographic qualities of the image. This metadata often contains camera and lens model information that can introduce bias when evaluating image quality.

Autoexif creates a clean copy of your original image with only essential technical metadata intact—preserving information valuable for understanding the photographic conditions while eliminating equipment-specific details and other extraneous information that clutters the metadata profile.

Key Features

  • Creates a non-destructive workflow by always generating a separate output file, never modifying the original
  • Completely removes all embedded metadata from the image copy
  • Selectively restores only specific technical metadata elements that directly relate to the photographic parameters
  • Eliminates equipment-specific information that could introduce bias when evaluating image quality
  • Offers flexible output options, with automatic generation of output filenames if not specified

Installation

Prerequisites

  • Node.js 18 or higher
  • npm

Installation Steps

npm i -g autoexif

Usage

Basic Usage

# Process a single image
autoexif --input path/to/image.jpg

# Specify an output path
autoexif --input path/to/image.jpg --output path/to/output.jpg

# Using shorthand options
autoexif -i path/to/image.jpg -o path/to/output.jpg

Options

  • -i, --input <path> - Path to the input image file (required)
  • -o, --output <path> - Path for the output file (optional)
  • --version - Display the version number
  • --help - Show help information

If no output path is specified, the program will create a new file in the same directory as the input file with .out inserted before the extension (e.g., image.jpg becomes image.out.jpg).

Preserved Metadata

Autoexif preserves a carefully curated set of non-identifying technical information, including:

Exposure Information

  • Exposure time, aperture (F-number), ISO
  • Exposure program, mode, and compensation
  • Metering mode
  • Brightness, shutter speed values

Optical Information

  • Focal length (including 35mm equivalent)
  • Field of view, circle of confusion
  • Hyperfocal distance
  • Digital zoom ratio

Image Properties

  • Color space, temperature, white balance
  • Contrast, saturation, and sharpness settings
  • Image dimensions and resolution
  • Orientation

Scene Information

  • Scene type and capture mode
  • Light source and value
  • Flash information

Use Cases

Autoexif is particularly valuable for:

  • Photographers sharing work for technical feedback without equipment bias influencing the critique
  • Photography educators focusing discussions on exposure, composition, and technique rather than gear
  • Photography forums where equipment discussions can detract from image quality conversations
  • Creating cleaner, more focused image metadata profiles for archiving
  • Removing extraneous editing software information and revision history while keeping essential parameters
  • Sharing images with reduced metadata clutter (with privacy improvement as a secondary benefit)

Examples

Basic Example

autoexif -i vacation.jpg

Creates vacation.out.jpg with identifying metadata removed.

Processing with Custom Output

autoexif -i family-photo.jpg -o family-photo-clean.jpg

Processes family-photo.jpg and saves the cleaned version as family-photo-clean.jpg.

Implementation

The tool leverages the robust ExifTool library (via exiftool-vendored) to handle the complex metadata structures found in modern image files. The process follows a methodical approach of copying, clearing, and selectively restoring specific metadata elements to ensure consistent results across different image formats and sources.

By focusing exclusively on the technical parameters that matter for photographic analysis, autoexif provides a streamlined approach that preserves valuable image context while removing equipment-specific information that can introduce bias or unnecessary clutter in the metadata profile.

License

MIT License - See the LICENSE file for details.


Built by Cyprian Zdebski