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

@kwai-explore/kia

v0.1.0-beta3

Published

快手图片小助手

Readme

Kwai Image Assistant

一个非常简单的小工具,主要用于项目中素材的调优

可以查找项目中被压缩过的图片、相似图片以及非透明的PNG图片

安装

npm -g i kia

使用

快手图片小助手(v1.1.4)
Author:FlashSoft

Usage: kia command [options]

Options:
  -V, --version         output the version number
  -h, --help            display help for command

Commands:
  scan [options] <dir>  扫描分析出项目中相似图片、非透明png图片以及被压缩过的图片。
                        以json格式输出或者使用http网页服务对外输出
  identify <file>       识别图片相关信息,主要用来获取图片的尺寸信息以及品质信息等
  help [command]        display help for command
快手图片小助手(v1.1.4)
Author:FlashSoft

Usage: kia scan [options] <dir>

扫描分析出项目中相似图片、非透明png图片以及被压缩过的图片。
以json格式输出或者使用http网页服务对外输出

Options:
  -ns, --no-check-similar                       不分析相似图片
       --check-similar-hashlen <hashlen>        在开启--check-similar选项时,分析相似图片时候的哈希长度,这个值越大越精确也越慢,建议取值8-16区间 (default: 16)
       --check-similar-distance <distance>      在开启--check-similar选项时,分析相似图片时判定的海明距离值 (default: 1)
  -no, --no-check-opaque                        不分析非透明PNG图片
  -nc, --no-check-compress                      不分析分析图片是否被压缩过
       --check-compress-jpeg-quality <quality>  在开启--check-compress选项时,分析JPEG图片是否被压缩的阈值 (default: 90)
  -result, --stdout-result                      终端输出结果(开启终端输出时不启动http服务) (default: false)
  --debug                                       开启debug模式 (default: false)
  -h, --help  
快手图片小助手(v1.1.4)
Author:FlashSoft

Usage: kia identify [options] <file>

识别图片相关信息,主要用来获取图片的尺寸信息以及品质信息等

Options:
  -h, --help  display help for command

功能规划

  • [x] 素材分析(是否压缩(jpg、png)、是否相似、是否有非透明PNG)
  • [ ] 素材分析诊断报告(联动webhook)
  • [ ] 调整图片分辨率
  • [ ] 压缩图片(tinypng、pngquant、jpegoptim)
  • [ ] 压缩音频(mp3)

截图

被压缩过的JPG图片 被压缩过的JPG图片

被压缩过的PNG图片 被压缩过的PNG图片

非透明的PNG图片 非透明的PNG图片

相似图片 相似图片