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

persagy-vant

v0.0.43

Published

Lightweight Mobile UI Components built on Vue

Readme

Persagy Vant AI

Persagy 移动端 Vue 3 组件库。产品经理可通过 AI 编程工具复用统一的基础组件和业务组件,提升产品的视觉、交互与体验一致性。

产品经理使用方式

只使用这一条流程:在自己的产品项目安装组件库、初始化一次 Codex Skill,然后直接调用 $use-persagy-vant。无需下载或复制本仓库。

1. 安装组件库

pnpm add persagy-vant
pnpm exec persagy-vant init

初始化会在项目中创建 .agents/skills/use-persagy-vant/SKILL.md。它只引用 npm 包内的 Skill 内容,因此不会复制规范或造成版本分叉。

2. 直接在 Codex 中调用

$use-persagy-vant 根据当前 PRD 实现移动端页面

Skill 会自动读取 npm 包内的复用规则、组件目录、设计交互规范与组件 API 文档。

3. 描述本次任务

  • 根据 PRD 开发:提供 PRD、原型说明或页面清单,并要求 AI 先列出页面结构、交互流程和拟复用的组件。
  • 优化已有页面:提供页面路径或问题描述,并要求 AI 先列出问题、改造方案和拟替换的组件,再改代码。
  • 明确指定组件:直接说“请使用 persagy-vant 的 <组件名> 实现 <业务场景>”,并要求 AI 先读取该组件 README 后实现。

获取最新版

组件库发布新版本后,在产品项目根目录执行:

pnpm up persagy-vant@latest

组件、组件文档和 Skill 会随 npm 包一起更新;已有的 .agents 入口会自动读取新版内容,无需再次初始化。仅当维护者通知入口机制有变时,才执行 pnpm exec persagy-vant init --force

完整的可转发说明见:Persagy Vant 组件库与 Skill 使用说明

包结构

src/       组件源码、单组件示例、测试与中英文 API 文档
docs/      组件站点与设计文档
skills/    随 npm 包分发的 AI Skill 正文与参考资料
bin/       初始化项目级 Codex Skill 的命令

开发

从仓库根目录执行:

pnpm install
pnpm dev:mobile
pnpm test:mobile
pnpm build:mobile

本包的构建和发布配置见 package.json

产物管理

es/lib/site-dist/test/coverage/ 都是构建或测试产物。新文件默认不提交,由 CI 构建并用于发布;已经被 Git 跟踪的历史产物请在一次独立的清理提交中处理,不要与组件功能改动混合。