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

au_tinypng

v0.1.6

Published

Tinypng without "Too many files uploaded at once" limit

Readme

初衷

图片压缩工具

概述:tinypng网页版上传图片数量有一定的限制/每天20张限制,超过该数量会出现断断续续的报错问题:Too many files uploaded at once!为了解决这个限制/提高我们的工作效率,利用node.js编写的一个npm包工具。

原理: 1、通过 X-Forwarded-For 添加动态随机伪IP来绕过 tinypng 的上传数量限制; 2、通过任务列表分批 + 延时器的方式降低访问频率。

使用方法

1、安装:npm i au_tinypng -g

2、执行:命令行进入到你想要压缩图片的文件目录,如果出现部分图片压缩失败,可重复执行该命令直至所有任务处理完成!

  1. 使用默认参数运行工具: au_tinypng

  2. 指定压缩延迟时间(默认2000毫秒): au_tinypng --delay 2000

  3. 指定输出文件夹名称: 待优化...

免责声明

1、其本质仍是调用tinypng官方的接口进行图片压缩,所以请勿滥用;

2、该工具适合处理单次100张以内数量的图片,超过该数量可以分批压缩,或者支持一下tinypng官网。网页版: tinypng

3、该工具仅用于学习,如有商业用途,请购买官方版本

联系作者

name: Justin QQ: [email protected]