Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 93498a7

Browse files
committed
update README
1 parent f97fa7d commit 93498a7

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# libxml.wasm
22

3-
## Build
3+
## Installation
4+
5+
```bash
6+
npm install libxml.wasm
7+
```
8+
9+
Alternatively, you can install from [GitHub Package Registry](https://github.com/libxmlwasm/libxml.wasm/pkgs/npm/wasm)
10+
11+
### (Optional) Build mnually
412

513
```bash
614
# Build also libraries
@@ -12,7 +20,9 @@ docker compose up wasm
1220
## Usage
1321

1422
```ts
15-
import init from "@libxml/wasm"
23+
import init from "libxml.wasm"
24+
// or "libxml.wasm/esm", "libxml.wasm/cjs"
25+
1626
const libxml = await init()
1727

1828
const html = `

0 commit comments

Comments
 (0)