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

@yelingfeng/pandora2

v1.0.6

Published

[![version](https://img.shields.io/github/package-json/v/yelingfeng/Pandora2)](https://github.com/yelingfeng/Pandora2) [![npm](https://img.shields.io/npm/v/@yelingfeng/pandora2)](https://www.npmjs.com/package/@yelingfeng/pandora2) [![test](https://github.

Readme

Pandora2

version npm test coverage

介绍


Pandora2 是一套基于 Vue 3 + TypeScript + Vite + Element Plus 的业务组件库,核心目标是用更少的 View 层代码完成常见的后台管理开发:

  • 表单:Schema(JSON)驱动,支持动态显示/禁用、联动与自定义渲染
  • 表格:列配置驱动,分页/选择/排序等能力封装
  • 页面布局:表单 + 表格的常用布局封装(PageLayout / TreeLayout)
  • 图表:ECharts WebComponent 封装(Charts)

安装

pnpm add @yelingfeng/pandora2
import { createApp } from 'vue'
import App from './App.vue'

import Pandora2 from '@yelingfeng/pandora2'
import '@yelingfeng/pandora2/dist/style.css'

const app = createApp(App)
app.use(Pandora2)
app.mount('#app')

技术栈与版本

| 依赖 | 版本(当前) | | ------ | ------ | | Vue | ^3.5.26 | | Element Plus | ^2.13.1 | | TypeScript | ^5.9.3 | | Vite | ^7.3.1 | | Vitest | ^4.0.18 | | pnpm(推荐) | 9.x(与 CI 一致) | | Node(推荐) | 22.21.1(与 CI 一致) |

测试与覆盖率

徽章说明:

  • test:GitHub Actions CI & Publish Pandora2main 分支的测试状态
  • coverage:Codecov 展示的覆盖率(点击可查看图表与文件级明细)

本地运行:

pnpm run test:ci
pnpm run test:coverage

覆盖率产物:

  • coverage/lcov.info:用于 CI 上传到 Codecov
  • coverage/index.html:本地可视化覆盖率报告(图表 + 文件明细)

发布(自动打 Tag)

该仓库的 GitHub Actions 会在推送 v* tag 时触发 npm publish

本地发布(会自动生成 changelog、提交、打 tag 并 push):

pnpm run release:patch
# pnpm run release:minor
# pnpm run release:major

如果出现 Tag already exists: vX.Y.Z,说明该版本 tag 已经存在(本地或远端),需要先提升 package.json 的 version,再重新发布。

开发者 👨‍💻

| Author | E-mail | | ------ | ----- | | yelingfeng | [email protected] |