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

@semba-ryuichiro/webpify

v1.2.0

Published

CLI tool to convert images to WebP format

Readme

webpify

License: MIT Node.js Version Quality Gate Status DeepWiki CodeRabbit Pull Request Reviews

webpify は画像ファイル(PNG/JPEG/GIF)を WebP 形式に変換する CLI ツールです。

目次

機能

  • 単一ファイルまたはディレクトリ一括変換
  • 再帰的なディレクトリ走査
  • 品質パラメータの指定(1-100)
  • lossless(可逆圧縮)モード対応
  • 出力先ディレクトリの指定
  • 既存ファイルの上書き制御
  • WebP ファイル一覧表示

インストール

pnpm add -g @semba-ryuichiro/webpify

使い方

基本

# 単一ファイルを変換
webpify image.png

# ディレクトリ内の画像を一括変換
webpify ./images

# 再帰的に変換
webpify ./images -r

オプション

| オプション | 説明 | デフォルト | | -------------------- | --------------- | ----- | | -o, --output <dir> | 出力先ディレクトリ | 入力と同じ | | -q, --quality <n> | 品質(1-100) | 100 | | -r, --recursive | 再帰的に処理 | false | | -f, --force | 既存ファイルを上書き | false | | --lossless | 可逆圧縮モードで変換 | false | | --list | WebP ファイル一覧表示 | - | | --absolute | 一覧表示時に絶対パスで表示 | false | | --quiet | 統計情報を非表示 | false | | -v, --version | バージョン表示 | - | | -h, --help | ヘルプ表示 | - |

# 品質90で変換
webpify image.png -q 90

# 別ディレクトリに出力
webpify ./images -o ./webp-images

# lossless(可逆圧縮)モードで変換
webpify image.png --lossless

# 強制上書き + 再帰 + 静音
webpify ./images -r -f --quiet

要件

  • Node.js 22.0.0 以上

ライセンス

MIT

ドキュメント

関連