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

webpify-cli

v2.0.2

Published

CLI tool to convert PNG, JPG, HEIC and HEIF images to WebP while preserving visual quality.

Readme

Webpify

Webpify is a terminal tool written in Node.js that converts your PNG, JPG, HEIC, and HEIF images to WebP, a modern format that reduces file size while preserving visual quality, ideal for web performance.

npm version npm downloads license

⭐ Features

  • Fast and efficient conversion of PNG and JPG images to WebP.
  • Support for HEIC and HEIF formats, converted first to JPG and then to WebP.
  • Easy to use via the command line.
  • Multi-language support: Full support for English and Spanish.
  • Input and output path control: Define input/output folders directly from the CLI using flags.
  • Command-line help and version display: Use --help to see available options and --version to check the current version of the tool.
  • Automatic mode to convert images in the current terminal directory using --auto.
  • Display project and author information using --about.
  • Improved CLI experience: Clear and intuitive commands with flags like --input, --output, --es, --auto, etc.
  • Image optimization to improve the performance of your websites.

👁️ Preview

Home

📷 Visual Comparison

Here’s a visual example showing the impact of Webpify using the Sharp library:

WebP reduces image size by up to 70% without noticeable quality loss, improving loading speeds for your web projects.

💻 Installation

To install Webpify globally on your system, run the following command:

npm i -g webpify-cli

This will install Webpify globally, allowing you to use it from any terminal directory by simply typing:

webpify

If you prefer not to install it globally, you can also run it using npx:

npx webpify-cli

🛠️ Usage

You can use Webpify in two ways: via an interactive mode (without any flags) or through command-line options.

Interactive Mode (no flags)

Simply run the command without any flags and Webpify will guide you step-by-step through an interactive menu:

webpify

Commands and Options

  • --input "<path>"
    Automatically converts all images in the specified folder.

    webpify --input "path/to/images"
  • --output "<path>"
    Sets a custom folder to save the converted images.
    Can be combined with:

    • --input
    • --auto
    • Interactive mode
    webpify --input "path/to/images" --output "path/to/converted"
    webpify --auto --output "path/to/webp"
    webpify --output "path/to/output"
  • --auto
    Automatically converts all images in the current working directory without showing the menu.
    Example:

    webpify --auto
  • --es
    Switches the interface language to Spanish.
    Can be used with any other flag:

    webpify --es
  • --about
    Displays author and project information:

    webpify --about
  • --version or -V
    Shows the current version of Webpify:

    webpify --version
  • --help or -h
    Displays help and available commands:

    webpify --help

ℹ️ Note: If your file paths contain spaces, wrap them in double quotes (" ").

📁 Supported Formats

| Input Format | Output Format | |--------------|--------------------| | PNG | WebP | | JPG / JPEG | WebP | | HEIC | JPG (intermediate) → WebP | | HEIF | JPG (intermediate) → WebP |

🐳 Docker

Webpify is also available as a Docker image for automated workflows and CI/CD pipelines.

Docker Version Docker Pulls Docker Stars

docker pull alejandrobr/webpify:latest

[!NOTE] Interactive mode is not supported in Docker. Use --auto or --input instead.

📚 More Information

For more information, visit the Wiki.

📚 Other Languages

🙌 Author

Alejandro Barrionuevo Rosado

MIT License – © 2025-2026