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

@canwdev/vgo-ui

v0.4.0

Published

Downloads

237

Readme

Vgo UI

  • 实用型 Vue 3 组件库
  • ⚠️ 用于个人项目和学习使用,不建议用于生产环境

更新日志:CHANGELOG.md

文档

进入 docs 目录,运行 bun run dev:docs 即可启动文档网站。

安装

bun add @canwdev/vgo-ui

使用

import { OptionUI, ViewPortWindow } from '@canwdev/vgo-ui'
import '@canwdev/vgo-ui/styles/core'
import '@canwdev/vgo-ui/themes/default'

styles/core 提供结构和工具类,themes/default 提供当前默认主题外观。请在 body 上挂载 vgo-theme-default;暗色模式同时在 html 上挂载 dark。组件类使用 vgo- 前缀 BEM,状态类使用 is-*,工具类使用 vgo-u-*

样式基元是一份封闭的契约:按钮只有 .vgo-button 一个基类(5 个配色变体 + --icon / --round / --sm / --lg 修饰),面板只有 .vgo-panel--flat / --overlay / --overlay-light,列表行只有 .vgo-list-item,另有 .vgo-empty.vgo-badge.vgo-progress。间距、字号、控件高度、层级和过渡时长全部走 --vgo-* 令牌,应用代码不应写字面量颜色、圆角或自定义阴影。完整清单见文档站的「样式总览」。

使用 VueMonaco 时需单独安装 monaco-editor,并从子路径导入(避免主包拉取 Monaco):

import { VueMonaco } from '@canwdev/vgo-ui/vue-monaco'

本地开发(Link)

# 安装依赖
bun i

# 构建组件库
bun run build

# 在本包目录下执行 link
bun link

# 在使用该包的项目目录下执行
# rm -rf node_modules/@canwdev/vgo-ui
# rm -rf node_modules/.vite
bun link @canwdev/vgo-ui

打包发布

# 先修改 package.json 中的版本号
bun run build

# 可选:本地打包(不推荐)
# bun run bun:pack

# 发布到 npm
bun publish --access public