@bettertui/core 0.1.0
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/LICENSE +21 -0
- package/README.md +57 -0
- package/bettertui_engine.node +0 -0
- package/index.d.mts +4541 -0
- package/index.d.ts +461 -0
- package/index.mjs +15737 -0
- package/index.mjs.map +1 -0
- package/package.json +51 -0
- package/rolldown-runtime-BmKbMBvF.mjs +36 -0
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bettertui/core",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "High-performance terminal UI framework powered by a Rust engine - framework-agnostic core (CommandBuffer, Runtime, tree reconciliation)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tui",
|
|
7
|
+
"terminal",
|
|
8
|
+
"terminal-ui",
|
|
9
|
+
"cli",
|
|
10
|
+
"rust",
|
|
11
|
+
"napi",
|
|
12
|
+
"reconciler"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "SOUMITRO-SAHA <soumitrosahaofficial@gmail.com>",
|
|
16
|
+
"homepage": "https://github.com/bettertui/bettertui/tree/main/packages/core#readme",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/bettertui/bettertui.git",
|
|
20
|
+
"directory": "packages/core"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/bettertui/bettertui/issues"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=24.15.0"
|
|
27
|
+
},
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./index.mjs",
|
|
30
|
+
"module": "./index.mjs",
|
|
31
|
+
"types": "./index.d.mts",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./index.d.mts",
|
|
35
|
+
"import": "./index.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@bettertui/shared": "0.1.0"
|
|
40
|
+
},
|
|
41
|
+
"optionalDependencies": {
|
|
42
|
+
"@bettertui/core-darwin-x64": "0.1.0",
|
|
43
|
+
"@bettertui/core-darwin-arm64": "0.1.0",
|
|
44
|
+
"@bettertui/core-linux-x64-gnu": "0.1.0",
|
|
45
|
+
"@bettertui/core-linux-arm64-gnu": "0.1.0",
|
|
46
|
+
"@bettertui/core-linux-x64-musl": "0.1.0",
|
|
47
|
+
"@bettertui/core-linux-arm64-musl": "0.1.0",
|
|
48
|
+
"@bettertui/core-win32-x64": "0.1.0",
|
|
49
|
+
"@bettertui/core-win32-arm64": "0.1.0"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "node:module";
|
|
2
|
+
//#region \0rolldown/runtime.js
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __esmMin = (fn, res, err) => () => {
|
|
8
|
+
if (err) throw err[0];
|
|
9
|
+
try {
|
|
10
|
+
return fn && (res = fn(fn = 0)), res;
|
|
11
|
+
} catch (e) {
|
|
12
|
+
throw err = [e], e;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
var __exportAll = (all, no_symbols) => {
|
|
16
|
+
let target = {};
|
|
17
|
+
for (var name in all) __defProp(target, name, {
|
|
18
|
+
get: all[name],
|
|
19
|
+
enumerable: true
|
|
20
|
+
});
|
|
21
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
22
|
+
return target;
|
|
23
|
+
};
|
|
24
|
+
var __copyProps = (to, from, except, desc) => {
|
|
25
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
26
|
+
key = keys[i];
|
|
27
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
28
|
+
get: ((k) => from[k]).bind(null, key),
|
|
29
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return to;
|
|
33
|
+
};
|
|
34
|
+
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
|
+
//#endregion
|
|
36
|
+
export { __exportAll as n, __toCommonJS as r, __esmMin as t };
|