foldui-builder 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +33 -0
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # foldui-builder
2
+
3
+ A programmatic document builder for FoldUI.
4
+
5
+ `foldui-builder` is a companion package to FoldUI for creating, editing, and serializing FoldUIDocument structures. It is intended to serve as the foundation for visual page builders, website builders, menu builders, and similar tools and saas prdoducts.
6
+
7
+ ## 📦 Installation
8
+
9
+ ### Using npm
10
+
11
+ ```bash
12
+ npm install foldui-builder
13
+ ```
14
+
15
+ ```ts
16
+ import { FoldUIBuilder } from 'foldui-builder'
17
+ ```
18
+
19
+ ### Using CDN
20
+
21
+ ```html
22
+ <script src="https://unpkg.com/rectflow/dist/foldui-builder.umd.js"></script>
23
+ <script>
24
+ const doc = FoldUIBuilder.createDocument()
25
+ </script>
26
+ ```
27
+
28
+ ## Status
29
+
30
+ 🚧 Early development (API not stable)
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "foldui-builder",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "A programmatic builder for FoldUI documents.",
6
+ "main": "./dist/foldui-builder.cjs.js",
7
+ "module": "./dist/foldui-builder.es.js",
8
+ "unpkg": "./dist/foldui-builder.umd.js",
9
+ "jsdelivr": "./dist/foldui-builder.umd.js",
10
+ "types": "./dist/index.d.ts",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "build": "vite build && tsc",
17
+ "preview": "vite preview"
18
+ },
19
+ "keywords": [
20
+ "foldui",
21
+ "ui",
22
+ "ui-builder",
23
+ "schema-builder",
24
+ "document-builder",
25
+ "ui-schema"
26
+ ],
27
+ "author": "Danish Ahmed Khan",
28
+ "license": "MIT",
29
+ "devDependencies": {
30
+ "typescript": "~5.9.3",
31
+ "vite": "^7.2.4"
32
+ }
33
+ }