@tltdsh/mx 1.0.5 → 1.0.6
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.
- package/README.md +11 -3
- package/package.json +251 -37
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mx.js
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Sub-1KB reactive DOM reconciliation engine for building massive platforms and user interfaces at scale. **862 bytes** brotli. 4 globals, zero dependencies, no virtual DOM, no build step. Small enough to fit in an AI context window.
|
|
4
4
|
|
|
5
5
|
[**Documentation**](https://mxjs.dev)
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ Expressive UI library in **862 bytes** (brotli) for building high-end, enterpris
|
|
|
19
19
|
### Pinned version
|
|
20
20
|
|
|
21
21
|
```html
|
|
22
|
-
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.0.
|
|
22
|
+
<script src="https://cdn.jsdelivr.net/npm/@tltdsh/mx@1.0.6/mx.min.js"></script>
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
### npm / yarn / bun
|
|
@@ -28,12 +28,20 @@ Expressive UI library in **862 bytes** (brotli) for building high-end, enterpris
|
|
|
28
28
|
npm i @tltdsh/mx
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
### ESM
|
|
31
|
+
### ESM (bundler)
|
|
32
32
|
|
|
33
33
|
```js
|
|
34
34
|
import { mx, dom, define, components } from '@tltdsh/mx'
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
### ESM (dynamic import from CDN)
|
|
38
|
+
|
|
39
|
+
```js
|
|
40
|
+
const { mx, dom, define, components } = await import('https://cdn.jsdelivr.net/npm/@tltdsh/mx/mx.mjs')
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Works in any modern browser or Deno - no install, no bundler, one line.
|
|
44
|
+
|
|
37
45
|
## 4 Globals
|
|
38
46
|
|
|
39
47
|
| Global | Returns | Use for |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tltdsh/mx",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Sub-1KB reactive DOM reconciliation engine for building massive platforms and user interfaces at scale. 862 bytes brotli, zero dependencies, no build step. Small enough for AI context windows.",
|
|
5
5
|
"license": "0BSD",
|
|
6
6
|
"author": "tltdsh",
|
|
7
7
|
"homepage": "https://mxjs.dev",
|
|
@@ -26,74 +26,288 @@
|
|
|
26
26
|
"sideEffects": true,
|
|
27
27
|
"keywords": [
|
|
28
28
|
"ui",
|
|
29
|
+
"ui-library",
|
|
30
|
+
"ui-framework",
|
|
31
|
+
"ui-engine",
|
|
29
32
|
"dom",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
33
|
+
"dom-reconciliation",
|
|
34
|
+
"dom-diffing",
|
|
35
|
+
"dom-patching",
|
|
36
|
+
"dom-manipulation",
|
|
37
|
+
"dom-first",
|
|
34
38
|
"reactive",
|
|
35
|
-
"
|
|
39
|
+
"reactivity",
|
|
36
40
|
"render",
|
|
37
41
|
"rendering",
|
|
38
42
|
"reconciliation",
|
|
39
|
-
"
|
|
43
|
+
"diff",
|
|
44
|
+
"patch",
|
|
40
45
|
"components",
|
|
41
|
-
"component-
|
|
46
|
+
"component-system",
|
|
42
47
|
"custom-elements",
|
|
43
48
|
"web-components",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
49
|
+
"declarative",
|
|
50
|
+
"view",
|
|
51
|
+
"view-layer",
|
|
52
|
+
"templating",
|
|
53
|
+
"state-management",
|
|
54
|
+
"data-binding",
|
|
55
|
+
"frontend",
|
|
56
|
+
"front-end",
|
|
57
|
+
"framework",
|
|
58
|
+
"micro-framework",
|
|
59
|
+
"engine",
|
|
46
60
|
"tiny",
|
|
47
61
|
"lightweight",
|
|
62
|
+
"ultra-lightweight",
|
|
48
63
|
"minimal",
|
|
64
|
+
"minimalist",
|
|
49
65
|
"small",
|
|
50
66
|
"micro",
|
|
67
|
+
"1kb",
|
|
68
|
+
"sub-1kb",
|
|
51
69
|
"fast",
|
|
52
70
|
"performant",
|
|
53
|
-
"efficient",
|
|
54
71
|
"high-performance",
|
|
55
|
-
"
|
|
72
|
+
"efficient",
|
|
73
|
+
"zero-overhead",
|
|
74
|
+
"zero-dependency",
|
|
56
75
|
"zero-dependencies",
|
|
76
|
+
"no-dependencies",
|
|
77
|
+
"dependency-free",
|
|
57
78
|
"no-build",
|
|
58
79
|
"no-bundler",
|
|
59
80
|
"no-compile",
|
|
81
|
+
"no-tooling",
|
|
60
82
|
"no-jsx",
|
|
83
|
+
"virtual-dom",
|
|
84
|
+
"vdom",
|
|
61
85
|
"no-virtual-dom",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"view-layer",
|
|
69
|
-
"template",
|
|
70
|
-
"templating",
|
|
71
|
-
"declarative",
|
|
72
|
-
"state-management",
|
|
73
|
-
"state",
|
|
86
|
+
"buildless",
|
|
87
|
+
"cdn",
|
|
88
|
+
"cdn-ready",
|
|
89
|
+
"script-tag",
|
|
90
|
+
"esm",
|
|
91
|
+
"es-modules",
|
|
74
92
|
"vanilla",
|
|
75
93
|
"vanilla-js",
|
|
94
|
+
"vanilla-javascript",
|
|
95
|
+
"plain-javascript",
|
|
76
96
|
"plain-js",
|
|
97
|
+
"pure-javascript",
|
|
77
98
|
"browser",
|
|
99
|
+
"browser-native",
|
|
78
100
|
"client-side",
|
|
79
|
-
"spa",
|
|
80
|
-
"single-page-app",
|
|
81
101
|
"web",
|
|
82
102
|
"webapp",
|
|
83
|
-
"
|
|
103
|
+
"spa",
|
|
104
|
+
"single-page-app",
|
|
84
105
|
"html",
|
|
106
|
+
"svg",
|
|
85
107
|
"javascript",
|
|
86
108
|
"js",
|
|
87
|
-
"
|
|
88
|
-
"ui-framework",
|
|
89
|
-
"ui-engine",
|
|
90
|
-
"element",
|
|
91
|
-
"node",
|
|
92
|
-
"tree",
|
|
93
|
-
"diff",
|
|
94
|
-
"patch",
|
|
109
|
+
"typescript",
|
|
95
110
|
"proxy",
|
|
96
111
|
"keyed",
|
|
97
|
-
"keyed-list"
|
|
112
|
+
"keyed-list",
|
|
113
|
+
"llm-friendly",
|
|
114
|
+
"ai-friendly",
|
|
115
|
+
"context-window",
|
|
116
|
+
"copilot-friendly",
|
|
117
|
+
"vibe-coding",
|
|
118
|
+
"prompt-friendly",
|
|
119
|
+
"ai-first",
|
|
120
|
+
"single-file",
|
|
121
|
+
"react-alternative",
|
|
122
|
+
"jquery-alternative",
|
|
123
|
+
"preact-alternative",
|
|
124
|
+
"vue-alternative",
|
|
125
|
+
"svelte-alternative",
|
|
126
|
+
"angular-alternative",
|
|
127
|
+
"htmx-alternative",
|
|
128
|
+
"unopinionated",
|
|
129
|
+
"simple",
|
|
130
|
+
"beginner-friendly",
|
|
131
|
+
"enterprise",
|
|
132
|
+
"enterprise-grade",
|
|
133
|
+
"enterprise-ui",
|
|
134
|
+
"production",
|
|
135
|
+
"production-ready",
|
|
136
|
+
"production-grade",
|
|
137
|
+
"large-scale",
|
|
138
|
+
"at-scale",
|
|
139
|
+
"massive",
|
|
140
|
+
"saas",
|
|
141
|
+
"b2b",
|
|
142
|
+
"b2c",
|
|
143
|
+
"fintech",
|
|
144
|
+
"medtech",
|
|
145
|
+
"healthtech",
|
|
146
|
+
"edtech",
|
|
147
|
+
"dashboard",
|
|
148
|
+
"admin-panel",
|
|
149
|
+
"back-office",
|
|
150
|
+
"data-driven",
|
|
151
|
+
"data-visualization",
|
|
152
|
+
"real-time",
|
|
153
|
+
"realtime",
|
|
154
|
+
"live-update",
|
|
155
|
+
"protocol",
|
|
156
|
+
"stable-api",
|
|
157
|
+
"api-stable",
|
|
158
|
+
"semver",
|
|
159
|
+
"long-term",
|
|
160
|
+
"future-proof",
|
|
161
|
+
"backwards-compatible",
|
|
162
|
+
"scalable",
|
|
163
|
+
"mission-critical",
|
|
164
|
+
"ultra-fast",
|
|
165
|
+
"ultrafast",
|
|
166
|
+
"superfast",
|
|
167
|
+
"blazing-fast",
|
|
168
|
+
"instant",
|
|
169
|
+
"snappy",
|
|
170
|
+
"low-latency",
|
|
171
|
+
"zero-latency",
|
|
172
|
+
"sub-millisecond",
|
|
173
|
+
"60fps",
|
|
174
|
+
"smooth",
|
|
175
|
+
"jank-free",
|
|
176
|
+
"memory-efficient",
|
|
177
|
+
"low-memory",
|
|
178
|
+
"small-footprint",
|
|
179
|
+
"zero-bloat",
|
|
180
|
+
"no-bloat",
|
|
181
|
+
"lean",
|
|
182
|
+
"slim",
|
|
183
|
+
"compact",
|
|
184
|
+
"nano",
|
|
185
|
+
"featherweight",
|
|
186
|
+
"atomic",
|
|
187
|
+
"modular",
|
|
188
|
+
"composable",
|
|
189
|
+
"extensible",
|
|
190
|
+
"embeddable",
|
|
191
|
+
"portable",
|
|
192
|
+
"universal",
|
|
193
|
+
"isomorphic",
|
|
194
|
+
"ssr-compatible",
|
|
195
|
+
"ssg",
|
|
196
|
+
"static-site",
|
|
197
|
+
"jamstack",
|
|
198
|
+
"headless",
|
|
199
|
+
"cms",
|
|
200
|
+
"widget",
|
|
201
|
+
"micro-frontend",
|
|
202
|
+
"micro-app",
|
|
203
|
+
"island",
|
|
204
|
+
"islands-architecture",
|
|
205
|
+
"progressive-enhancement",
|
|
206
|
+
"graceful-degradation",
|
|
207
|
+
"accessible",
|
|
208
|
+
"a11y",
|
|
209
|
+
"responsive",
|
|
210
|
+
"mobile-first",
|
|
211
|
+
"pwa",
|
|
212
|
+
"offline",
|
|
213
|
+
"web-platform",
|
|
214
|
+
"platform",
|
|
215
|
+
"app-framework",
|
|
216
|
+
"application-framework",
|
|
217
|
+
"crud",
|
|
218
|
+
"form",
|
|
219
|
+
"forms",
|
|
220
|
+
"table",
|
|
221
|
+
"list",
|
|
222
|
+
"grid",
|
|
223
|
+
"chart",
|
|
224
|
+
"tree",
|
|
225
|
+
"tree-view",
|
|
226
|
+
"tabs",
|
|
227
|
+
"modal",
|
|
228
|
+
"dropdown",
|
|
229
|
+
"tooltip",
|
|
230
|
+
"notification",
|
|
231
|
+
"toast",
|
|
232
|
+
"animation",
|
|
233
|
+
"transition",
|
|
234
|
+
"routing",
|
|
235
|
+
"router",
|
|
236
|
+
"navigation",
|
|
237
|
+
"lazy-loading",
|
|
238
|
+
"virtual-scroll",
|
|
239
|
+
"infinite-scroll",
|
|
240
|
+
"pagination",
|
|
241
|
+
"search",
|
|
242
|
+
"filter",
|
|
243
|
+
"sort",
|
|
244
|
+
"drag-and-drop",
|
|
245
|
+
"event-driven",
|
|
246
|
+
"event-handling",
|
|
247
|
+
"lifecycle",
|
|
248
|
+
"hooks-free",
|
|
249
|
+
"class-free",
|
|
250
|
+
"functional",
|
|
251
|
+
"imperative",
|
|
252
|
+
"direct-dom",
|
|
253
|
+
"real-dom",
|
|
254
|
+
"dom-api",
|
|
255
|
+
"element",
|
|
256
|
+
"node",
|
|
257
|
+
"html5",
|
|
258
|
+
"css3",
|
|
259
|
+
"modern-web",
|
|
260
|
+
"web-standard",
|
|
261
|
+
"standards-compliant",
|
|
262
|
+
"cross-browser",
|
|
263
|
+
"chrome",
|
|
264
|
+
"firefox",
|
|
265
|
+
"safari",
|
|
266
|
+
"edge",
|
|
267
|
+
"webkit",
|
|
268
|
+
"blink",
|
|
269
|
+
"v8",
|
|
270
|
+
"javascriptcore",
|
|
271
|
+
"spidermonkey",
|
|
272
|
+
"deno",
|
|
273
|
+
"bun",
|
|
274
|
+
"node",
|
|
275
|
+
"npm",
|
|
276
|
+
"yarn",
|
|
277
|
+
"pnpm",
|
|
278
|
+
"open-source",
|
|
279
|
+
"0bsd",
|
|
280
|
+
"mit",
|
|
281
|
+
"free",
|
|
282
|
+
"no-license-restriction",
|
|
283
|
+
"commercial-friendly",
|
|
284
|
+
"startup",
|
|
285
|
+
"indie",
|
|
286
|
+
"indie-hacker",
|
|
287
|
+
"solo-developer",
|
|
288
|
+
"side-project",
|
|
289
|
+
"mvp",
|
|
290
|
+
"prototype",
|
|
291
|
+
"rapid-development",
|
|
292
|
+
"rapid-prototyping",
|
|
293
|
+
"hackathon",
|
|
294
|
+
"code-golf",
|
|
295
|
+
"demoscene",
|
|
296
|
+
"js13k",
|
|
297
|
+
"size-optimized",
|
|
298
|
+
"brotli-optimized",
|
|
299
|
+
"gzip-optimized",
|
|
300
|
+
"compression-friendly",
|
|
301
|
+
"bandwidth-efficient",
|
|
302
|
+
"edge-compute",
|
|
303
|
+
"edge-function",
|
|
304
|
+
"serverless",
|
|
305
|
+
"cloudflare-workers",
|
|
306
|
+
"lambda",
|
|
307
|
+
"vercel",
|
|
308
|
+
"netlify",
|
|
309
|
+
"firebase",
|
|
310
|
+
"deno-deploy",
|
|
311
|
+
"fly-io"
|
|
98
312
|
]
|
|
99
313
|
}
|