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 🙏

© 2024 – Pkg Stats / Ryan Hefner

smaller

v0.0.5

Published

smaller image

Downloads

2

Readme

干嘛用的?

图片压缩一直是前端的痛点,tinypng时常会变慢,智图压缩率不够高,怎么办!?怎么办?!现在smaller来了,一个命令,图片压缩本地化,统统搞定。

使用者是如何说的?

真的,自从使用了smaller,我可以单机压图片了,开发更高效了,简直是瞬间完成,还自动给原图备份,真是前端开发者的福音啊。

其他人呢?

啊,从今天开始,就用smaller了!

安装

可以在组里搞1台开,其他人只要使用它就行了

docker pull h2non/imaginary
docker run -p 9000:9000 h2non/imaginary -cors -gzip
npm i -g smaller

使用

cd到image目录

smaller

欢迎issues,欢迎fork

欢迎各路大神来写图片压缩算法,再把我教会,那你就是哈佛的老师了,因为会图片压缩算法就可以去哈佛了(来自百度知道--求教图片算法)