-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathmod.ts
More file actions
30 lines (30 loc) · 908 Bytes
/
mod.ts
File metadata and controls
30 lines (30 loc) · 908 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
30
/**
* # Deno WebUI
*
* > Use any web browser as GUI, with Deno in the backend and HTML5 in the
* > frontend, all in a lightweight Deno 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 "jsr:@webui/deno-webui@2.5.15";
*
* const myWindow = new WebUI();
* await myWindow.show("<html><script src=\"webui.js\"></script> Hello World! </html>");
* await WebUI.wait();
* ```
*
* @module
* @license MIT
*/
export { WebUI } from "./src/webui.ts";
export type { BindCallback, Datatypes, WebUIEvent } from "./src/types.ts";