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

antdv-superform

v0.6.12

Published

基于 Ant Design Vue 3.x 开发的超级表单组件库,通过配置化的方式快速构建复杂的表单页面,大幅提升开发效率。

Readme

Antdv SuperForm

基于 Ant Design Vue 3.x 开发的超级表单组件库,通过配置化的方式快速构建复杂的表单页面,大幅提升开发效率。

✨ 特性

  • 🚀 开箱即用: 提供 SuperForm、SuperTable、SuperDetail 等核心组件
  • 🎯 高度可配置: 支持 JSON 配置和函数式配置,灵活满足各种业务场景
  • 🔧 TypeScript 支持: 完整的 TypeScript 类型定义,提供更好的开发体验
  • 📱 响应式设计: 基于 Ant Design Vue,完美支持各种屏幕尺寸
  • 🎨 主题定制: 支持主题定制,轻松适配您的设计系统
  • 📦 轻量级: 按需加载,体积小巧,性能优秀

📦 安装

npm install antdv-superform
# 或
yarn add antdv-superform
# 或
pnpm add antdv-superform

🚀 快速开始

<template>
  <SuperForm @register="formRegister" @submit="handleSubmit">
  </SuperForm>
</template>

<script setup>
import { useForm, SuperForm } from 'antdv-superform'

const [formRegister] = useForm({
  buttons: ['submit', 'reset'],
  subItems: [
    { type: 'Input', field: 'name', label: '姓名', rules: [{ required: true }] },
    { type: 'Select', field: 'gender', label: '性别', options: [
      { label: '男', value: 'male' },
      { label: '女', value: 'female' }
    ]}
  ]
})

const handleSubmit = (data) => {
  console.log('提交数据:', data)
}
</script>

📖 文档

🛠️ 开发

# 克隆项目
git clone https://github.com/nicefan/antdv-superform.git

# 安装依赖
pnpm install

# 启动开发服务器
pnpm dev

# 启动文档服务器
pnpm start:docs

📄 许可证

MIT License

🤝 贡献

欢迎提交 Issue 和 Pull Request 来帮助改进项目!

📞 联系方式