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

guyan-ym-ui

v1.3.6

Published

一款基于Vue3 + TS 的个人开发组件库

Readme

一个专为开发者设计的、功能全面且高度可定制的组件库,旨在帮助您以前所未有的速度和效率构建下一代Web应用。

更多详细用法请参考组件文档使用

安装

npm i guyan-ym-ui --save

开始使用

全局使用

// 引入所有组件
import YmUI from 'guyan-ym-ui'
// 引入样式
import 'guyan-ym-ui/dist/index.css'

import App from './App.vue'
// 全局使用
createApp(App).use(YmUI).mount('#app')
<template>
  <ym-button>Button按钮</ym-button>
</template>

单个导入

Ym-UI 提供了基于 ES Module 的开箱即用的 Tree Shaking 功能。

<template>
  <ym-button>Button</ym-button>
</template>
<script>
  import { YmButton } from ' guyan-ym-ui'
  import "guyan-ym-ui/dist/theme/Button.css" // 引入单个样式
  // import "guyan-ym-ui/dist/index.css" // 引入所有样式 或者在main.js中全局引入

  export default {
    components: { YmButton },
  }
</script>

亮点

::: details

  • Vite + Vitest + Vitepress 工具链
  • monorepo 分包管理
  • 大模型辅助:使用大模型辅助完成需求分析,设计思路,快速实现组件,提升开发效率。
  • Vue3 + Typescript + Composition API :::
  • 亮点1 🔥: 高效的开发体验: Vite 提供了快速的开发服务器和构建指令,支持原生 ES 模块和模块热更新(HMR),显著提升了开发体验。

  • 亮点2 💧: 开箱即用的配置:

  • Vite 意在提供开箱即用的配置,同时其插件 API 和 JavaScript API 带来了高度的可扩展性,并有完整的类型支持。
  • 亮点3 ⛑️:monorepo 分包管理: -使用 monorepo 方式组织项目代码,便于代码复用和独立部署,减少了代码库膨胀和性能下降的问题。

  • 亮点4 📚:大模型辅助开发:

  • 利用大模型辅助完成需求分析和设计思路,快速实现组件,提升开发效率。
  • 亮点5 🎉:类型安全:
  • 支持 TypeScript,为组件库提供类型定义,增强了代码的健壮性和可维护性,同时提升了开发体验。
  • 亮点6 🌹: 易于扩展和维护:
  • 组件库开发更适合 monorepo 单一代码库的方式,便于统一代码风格和构建流程,统一生成 changeLog。
  • 亮点7 📚: 社区支持和生态系统:
  • Vite 正在推动 Web 框架的新一轮创新竞赛,拥有庞大的生态系统和社区支持。