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 🙏

© 2025 – Pkg Stats / Ryan Hefner

jw-design

v0.0.9

Published

`jw-design` 是一个基于 Vue 3 和 Arco Design Vue 的现代化 UI 组件库,旨在提供高度可定制、易于使用的组件,适用于各种 Web 应用开发场景。所有组件支持 TypeScript、响应式设计和全局配置,满足企业级开发需求。

Readme

jw-design 组件库

jw-design 是一个基于 Vue 3 和 Arco Design Vue 的现代化 UI 组件库,旨在提供高度可定制、易于使用的组件,适用于各种 Web 应用开发场景。所有组件支持 TypeScript、响应式设计和全局配置,满足企业级开发需求。

安装

npm install jw-design

在主应用中注册组件库,并可选择设置全局配置:

import { createApp } from "vue";
import App from "./App.vue";
import JwDesign from "jw-design";
import "jw-design/style.css";

const app = createApp(App);
app.use(JwDesign, { size: "small" }); // 可选:设置全局组件大小
app.mount("#app");

特性

  • 高可定制性:通过 Props、Slots 和全局配置满足多样化需求。
  • TypeScript 支持:提供完整的类型定义,提升开发体验。
  • 全局配置:支持统一的组件大小配置,基于 ComponentsConfig
  • 响应式设计:适配多种屏幕尺寸,优化用户体验。
  • Arco Design 集成:无缝使用 Arco Design Vue 的样式和图标。

组件目录

以下是当前可用的组件,点击链接查看详细文档:

  • SimplePagination:一个灵活的分页组件,支持页码导航、总数显示、按钮自定义和整体大小调整。

更多组件即将推出,敬请期待!

全局配置

jw-design 支持通过全局配置统一设置组件的整体大小(影响字体、间距、容器尺寸等)。配置定义在 src/config/ComponentsConfig.ts 中,默认值为 medium

示例

app.use(JwDesign, { size: "small" });

大小选项

| 大小 | 缩放因子 | 描述 | | -------- | -------- | -------------------------- | | small | 0.8 | 较小的字体、间距和容器尺寸 | | medium | 1 | 默认尺寸,适合大多数场景 | | large | 1.2 | 较大的字体、间距和容器尺寸 |

版本信息