From d5a8c3862c5722ee40e37685721f8bca756dd2bb Mon Sep 17 00:00:00 2001
From: project516 <138796702+Project516@users.noreply.github.com>
Date: Sat, 31 Oct 2026 23:46:00 -0500
Subject: [PATCH] Publish as @project516/java-web
---
README.md | 8 ++++----
docs/browser.md | 2 +-
docs/node.md | 6 +++---
package.json | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 35699b7..d0aa6d1 100644
--- a/README.md
+++ b/README.md
@@ -7,10 +7,10 @@ and its page API matches CheerpJ's, so existing pages can switch.
## Use it in a page
```sh
-pnpm add java-web
+pnpm add @project516/java-web
```
-Serve `node_modules/java-web/dist/` as static files, then:
+Serve `node_modules/@project516/java-web/dist/` as static files, then:
```html
@@ -27,11 +27,11 @@ Serve `node_modules/java-web/dist/` as static files, then:
## Use it under Node
```sh
-npx java-web -cp classes Main # or: npx java-web -jar app.jar
+npx @project516/java-web -cp classes Main # or: npx @project516/java-web -jar app.jar
```
```js
-import { runNode } from "java-web";
+import { runNode } from "@project516/java-web";
const code = await runNode({ classpath: ["classes"], mainClass: "Main" });
```
diff --git a/docs/browser.md b/docs/browser.md
index 61eb173..956ca8c 100644
--- a/docs/browser.md
+++ b/docs/browser.md
@@ -1,7 +1,7 @@
# Using java-web in a page
The npm package holds the built files: `java-web.js`, `java-web-worker.js`,
-`boot.pack` and `jdk/` for pages, and `node.js` for Node ([node.md](node.md)). Serve `node_modules/java-web/dist/` as static files
+`boot.pack` and `jdk/` for pages, and `node.js` for Node ([node.md](node.md)). Serve `node_modules/@project516/java-web/dist/` as static files
and load `java-web.js` with a classic `