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

zens-ui

v1.0.11

Published

This is a UI frame designed for ZensFE Team.

Readme

详细介绍 | 文档

ZensUI

本框架海量参考了CMUI的代码,向CMUI的开发者致敬

ZensUI为前端开发者提供了一个易上手的、语义化的、高兼容性的前端UI框架。致力于帮助开发者可以快速构建自己的web应用。同时ZensUI也是跨平台的,目前支持的平台有:

  • 移动端web
  • PC端web
  • 微信小程序

快速上手

安装

npm install --save-dev zens-ui

引入scss样式

import 'zens-ui/scss/ZensUI.scss'

使用说明

基础示例

如果你想创建一个红色的圆角 按钮,你可以像下面这样写代码:

<button class="btn red radius">my button</button>

它会被渲染成下面的样子:

就像你看到一样,其中.btn是来描述当前是一个什么元素,而.red.radius作为"修饰符",来描述当前元素长什么样子。

更多的按钮用法:

  <button class="btn">Basic button</button>
  <button class="btn gray pill">Gray pills like button</button>
  <button class="btn big hollow red radius">Big hollow round button</button>
  <button class="btn black small">Small black button</button>

其他示例

Zens UI封装了几个container类,他们是为了快速实现布局而设计的。

  • img-container:图像容器
  • flex-container:flex布局容器
  • flex-row-container:flex布局容器(纵向排列)

img-container的用法如下:

<div class="img-container round" style="width: 100px; height: 100px;">
  <img src="https://via.placeholder.com/100x100" alt="">
</div>

它会被渲染成下面的样子:

npm包中的目录结构

其中ZensUI.css用于通用的web开发,而ZensUI.mp.css用于微信小程序的开发

ZensUI/
    ├─ dist/                                           
    │     └── css/                      
    │         ├─ZensUI.css 
    │         ├─ZensUI.css.map
    │         ├─ZensUI.min.css
    │         ├─ZensUI.min.css.map 
    │         ├─ZensUI.mp.css
    │         ├─ZensUI.mp.css.map
    │         ├─ZensUI.mp.min.css
    │         └─ZensUI.mp.min.css.map    
    └─ scss/ 
       └─ZensUI.scss  

License

Everything is MIT