-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmod.ts
More file actions
29 lines (29 loc) · 816 Bytes
/
mod.ts
File metadata and controls
29 lines (29 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* # Bun WebUI
*
* > Use any web browser as GUI, with Bun in the backend and HTML5 in the
* > frontend, all in a lightweight Bun module.
*
* ## Features
*
* - Fully Independent (_No need for any third-party runtimes_)
* - Lightweight _~900 Kb_ for the whole package & Small memory footprint
* - Fast binary communication protocol between WebUI and the browser (_Instead of JSON_)
* - Multi-platform & Multi-Browser
* - Using private profile for safety
* - Original library written in Pure C
*
* ## Minimal Example
*
* ```ts
* import { WebUI } from '@webui-dev/bun-webui';
*
* const myWindow = new WebUI();
* myWindow.show("<html><script src=\"webui.js\"></script> Hello World! </html>");
* await WebUI.wait();
* ```
*
* @module
* @license MIT
*/
export { WebUI } from "./src/webui.js";