百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

formulize

> 后端框架
开源

:waning_crescent_moon: 公式 UI 生成器

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

:waning_crescent_moon: 公式 UI 生成器

formulize :waxing_crescent_moon:

formula UI generator

:package: Installation

git

bash
$ git clone [email protected]:KennethanCeyer/formulize

npm

bash
$ npm install formulize

yarn

bash
$ yarn add formulize

:clap: Getting started

This plugin helps you to make formulas WYSWYG UI

this plugin is based metric-parser

demo page

:page_with_curl: Example (basic)

xml

If you want to make UI into #formulize

typescript

typescript
import { UI } from 'formulize';

const target = document.getElementById('formulize');
const formulize = new UI(target, {
    ...options
});

const data: Tree = {
    operator: '*',
    operand1: { value: { type: 'unit', unit: 1 } },
    operand2: { value: { type: 'unit', unit: 2 } }
};

formulize.setData(data);

javascript (ES6)

javascript
import { UI } from 'formulize';

const target = document.getElementById('formulize');
const formulize = new UI(target, {
    ...options
});

const data = {
    operator: '*',
    operand1: { value: { type: 'unit', unit: 1 } },
    operand2: { value: { type: 'unit', unit: 2 } }
};

formulize.setData(data);

jQuery

javascript
$(function() {
    $('#formulize').formulize({
        ...options
    });

    const formulize = $('#formulize').data('$formulize');
    const data = {
        operator: '*',
        operand1: { value: { type: 'unit', unit: 1 } },
        operand2: { value: { type: 'unit', unit: 2 } }
    };

    formulize.setData(data);

    // unrecommended way
    $('#formulize').setData(data);
});

:triangular_flag_on_post: Roadmap

  • support typescript
  • update formula tree parser
  • support reference docs
  • follow clean code philosophy
  • follow object based implementation
  • support UMD module
  • support code qualify tool
  • support automation test environment
  • support scss style file
  • support multiple themes
  • support unit code to achieve coverage over 90%
  • support integration testing with mocking dom in the code-level
  • support e2e testing
  • add guideline in Github WIKI
  • add guideline snippet gist and jsfiddle
  • add contributor guidelines
  • support cdn

:mag: License

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcalculatecomponentexpressionformula

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架