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

@wakeapp/tailwind

v1.0.16

Published

惟客搭 tailwind 版本

Downloads

21

Readme

Wakeda 支持的 tailwind 版本, 裁减掉大部分低频类

⚠️ tailwind 仅支持非 React Native 环境

体积对比, 因为大部分在小程序端运行,因此不考虑 gzip 压缩

| 变动项 | 未压缩 | 已压缩 | 类数 | | -------------------------------------------- | ------ | ------ | ---- | | 清除掉无用断点,颜色和核心插件 | 207KB | 173KB | 2659 | | 新增 primary 主体色和副色等 6 个颜色 | 217KB | 181KB | 2737 | | 继续清除掉一些极端的变量 | 206KB | 171KB | 2676 | | 转换 rem 为 CSS 变量 | 234KB | 192KB | 2676 | | 扩展 6 个命名间隔变量 | 253KB | 208KB | 2947 | | 裁剪 10 个间隔变量 | 212KB | 176KB | 2457 | | 压缩 --tw- 变量 | 188KB | 152KB | 2457 | | 提升 非 --tw- 变量 | 178KB | 143KB | 2457 | | 移除掉 hover, group-hover 变量(小程序不支持) | 130KB | 102KB | 1968 | | 移除掉 divide, space (小程序不支持) | 110KB | 86KB | 1962 | | 移除 grid 网格相关, 变量调整 | 102KB | 80KB | 1813 |

小程序兼容性问题

  • 小程序选择器不支持这些特殊符号,所以进行了转换 .,:, /

    例如 1/2 => 1__2 1.5 => 1_5

  • 不支持 *

  • 不支持 :not

详见: https://learnku.com/articles/60035