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

easy-hevc

v1.0.15

Published

Easiest way to convert video files to hevc (H.265) using ffmpeg.

Readme

Easy HEVC

Easy HEVC is a command-line tool that helps you convert videos to HEVC (H.265) in bulk.

It scans folders recursively, converts supported video files with FFmpeg, and keeps your originals safe until you decide to finalize. It automatically detects already converted files and warns you if the output video is larger that input.

Use this tool to instantly cleanup massive storage space by converting large video files to a more effecient format. As the conversion is lossy, it is only recommended for archived videos (files you may only rarely need in future), unless you know what you're doing.

Why use it?

  • Convert many videos in one run (including nested folders).
  • Reduce storage usage with configurable quality settings.
  • Review converted files before deleting originals.
  • Preserve useful metadata so converted files can still be traced back to their source.

Prerequisites

Install FFmpeg (includes ffprobe) and make sure it is available in your PATH.

  • macOS: brew install ffmpeg
  • Ubuntu / Debian: sudo apt install ffmpeg
  • Windows: winget install ffmpeg

Installation

Install with Bun:

bun add -g easy-hevc

Quick start

1) Convert videos

Run conversion on a file or directory:

easy-hevc -i /path/to/videos

Example with custom quality and resolution:

easy-hevc -i . --crf 23 --resolution 720

Process larger files first:

easy-hevc -i . --sort-by-size

2) Review output

Check converted files and verify quality/size savings.

3) Finalize

Once you're happy, replace originals with converted files:

easy-hevc finalize -i /path/to/videos

Preview finalize actions without making changes:

easy-hevc finalize -i /path/to/videos --dry-run

Commands

convert (default)

Converts videos to HEVC/H.265.

-i, --input                 Input file or folder (required)
-s, --suffix                Output suffix (default: _converted)
    --resolution            Output height (default: 1080)
                            choices: 2160|1440|1080|720|540|480|360
    --crf                   Constant Rate Factor (default: 24)
    --preset                Encoder preset (default: medium)
                            choices: fast|medium|slow|veryslow
    --delete-original       Delete source if converted file is smaller
    --preserve-dates        Preserve modification timestamps (default: true)
    --no-preserve-dates
    --sort-by-size          Convert largest files first
-h, --help                  Show help

finalize

Deletes originals and renames converted files to replace them.

-i, --input                 Input folder (required)
-f, --force                 Skip confirmation prompts
-d, --dry-run               Simulate actions only
-h, --help                  Show help

Typical workflow

  1. Run easy-hevc -i <folder>.
  2. Inspect results and spot-check playback quality.
  3. Run easy-hevc finalize -i <folder> --dry-run.
  4. Run easy-hevc finalize -i <folder> when ready.

This two-step workflow helps avoid accidental data loss.