WebviewJS is a typed JavaScript binding for building desktop applications with the webview provided by the operating system. It connects Node.js, Bun, or Deno to native windows through N-API and the tao and wry libraries.
This repository contains the published package, its documentation site, runnable examples, and the tooling used to develop them.
Documentation · npm package · Examples · Issues
| Workspace | Purpose |
|---|---|
packages/webview |
Published @webviewjs/webview native binding and CLI |
packages/create-webview |
Official WebviewJS project scaffolder (create-webview) |
apps/docs |
Documentation site at webview.js.org |
apps/examples |
Runnable JavaScript examples |
Install Bun 1.4.2, Rust stable, and Node.js 24 or newer for package tests.
bun install
bun run build
bun run test
bun run lint
bun run format:check
bun run checkBuild the native package and its TypeScript API with:
bun --filter @webviewjs/webview buildStart the documentation site locally with:
bun --filter @webviewjs/docs devBuild the package, then run an example with Bun:
bun --filter @webviewjs/webview build
bun apps/examples/simple.tsapps/
docs/ Documentation site
examples/ Runnable examples
packages/
webview/ @webviewjs/webview package
create-webview/ Official WebviewJS project scaffolder
Issues and pull requests are welcome. For bugs or feature requests, open an issue; before contributing code, review the repository guidance in AGENTS.md.
MIT. See LICENSE.
