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

flame-uni

v0.0.4

Published

基于 uni-app 的移动端动态表单组件库(与 flame-plus flmDynamicForm 配置协议对齐)

Readme

flame-uni

基于 uni-app(Vue3) 的移动端动态表单组件库,与 flame-plusflmDynamicForm 使用同一套配置协议(groups / buttons / controlType)。

安装

pnpm add flame-uni flame-uni-types
# 或
npm install flame-uni flame-uni-types

对等依赖:vue@dcloudio/uni-uiflame-uni-types

在 uni-app 中使用

1. 全局注册(推荐)

import { createSSRApp } from 'vue'
import App from './App.vue'
import { installFlameUni } from 'flame-uni'

export function createApp() {
  const app = createSSRApp(App)
  installFlameUni(app)
  return { app }
}

2. easycom(可选)

pages.json 中配置(路径相对 node_modules/flame-uni):

{
  "easycom": {
    "autoscan": true,
    "custom": {
      "^flmDynamicForm$": "flame-uni/uni_modules/flame-uni/components/complex/flmDynamicForm/flmDynamicForm.vue",
      "^flmSubForm$": "flame-uni/uni_modules/flame-uni/components/complex/flmSubForm/flmSubForm.vue",
      "^flmInput$": "flame-uni/uni_modules/flame-uni/components/base/flmInput/flmInput.vue",
      "^(flm[A-Z][a-zA-Z0-9]*)$": "flame-uni/uni_modules/flame-uni/components/base/$1/$1.vue"
    }
  }
}

uni-app 3.x 也会自动扫描 node_modules 下的 uni_modules 目录。

3. 按需引用

import FlmDynamicForm from 'flame-uni/components/complex/flmDynamicForm/flmDynamicForm.vue'

包结构

flame-uni/
├── index.js                 # 导出 installFlameUni
├── uni_modules/flame-uni/   # 组件源码(符合 uni_modules 规范)
│   ├── components/base/
│   ├── components/complex/
│   ├── common/
│   └── register.js
└── types.d.ts

类型

请同时安装 flame-uni-types

import type { DynamicFormConfig, InputConfig } from 'flame-uni-types'

本地开发

组件库类型检查:

cd spark-framework/flame-uni
pnpm install
pnpm run ts:check

完整可运行示例见同级目录 flame-uni-demo

发布

pnpm publish --access public

文档