@gukhanmun/wasm 0.1.0-dev.18 → 0.1.1-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/index.d.ts +1 -1
- package/dist/wasm/deno/README.md +8 -0
- package/dist/wasm/deno/gukhanmun_wasm_bg.wasm +0 -0
- package/dist/wasm/nodejs/README.md +8 -0
- package/dist/wasm/nodejs/gukhanmun_wasm_bg.wasm +0 -0
- package/dist/wasm/nodejs/package.json +1 -1
- package/dist/wasm/web/README.md +8 -0
- package/dist/wasm/web/gukhanmun_wasm_bg.wasm +0 -0
- package/dist/wasm/web/package.json +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
@gukhanmun/wasm
|
|
2
2
|
===============
|
|
3
3
|
|
|
4
|
+
[![JSR][JSR badge]][JSR]
|
|
5
|
+
[![npm][npm badge]][npm]
|
|
6
|
+
[![License: GPL-3.0-only][GPL badge]][GPL]
|
|
7
|
+
|
|
4
8
|
WebAssembly implementation of the Gukhanmun hanja-to-hangul converter. Runs in
|
|
5
9
|
any WebAssembly-capable environment: browsers, Deno 2.0+, Node.js 20+, and Bun
|
|
6
10
|
1.0+.
|
|
7
11
|
|
|
12
|
+
[JSR badge]: https://jsr.io/badges/@gukhanmun/wasm
|
|
13
|
+
[JSR]: https://jsr.io/@gukhanmun/wasm
|
|
14
|
+
[npm badge]: https://img.shields.io/npm/v/@gukhanmun/wasm?logo=npm
|
|
15
|
+
[npm]: https://www.npmjs.com/package/@gukhanmun/wasm
|
|
16
|
+
[GPL badge]: https://img.shields.io/npm/l/%40gukhanmun%2Fwasm
|
|
17
|
+
[GPL]: https://www.gnu.org/licenses/gpl-3.0.html
|
|
18
|
+
|
|
8
19
|
|
|
9
20
|
Installation
|
|
10
21
|
------------
|
package/dist/index.d.ts
CHANGED
|
@@ -234,7 +234,7 @@ type DictionarySource = FileDictionarySource;
|
|
|
234
234
|
interface HtmlOptions {
|
|
235
235
|
/**
|
|
236
236
|
* Class names whose containing element (and all descendants) should be
|
|
237
|
-
* treated as a preserved region
|
|
237
|
+
* treated as a preserved region—the engine skips their text content.
|
|
238
238
|
*
|
|
239
239
|
* Equivalent to passing `--html-preserve-class NAME` to the CLI one or
|
|
240
240
|
* more times.
|
package/dist/wasm/deno/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
gukhanmun-wasm
|
|
2
2
|
==============
|
|
3
3
|
|
|
4
|
+
[![crates.io][crates.io badge]][crates.io]
|
|
5
|
+
[![License: GPL-3.0-only][GPL badge]][GPL]
|
|
6
|
+
|
|
4
7
|
WebAssembly binding for Gukhanmun, generated with `wasm-bindgen`. Exposes
|
|
5
8
|
`WasmGukhanmun` (an owning converter instance) and `WasmStream` (a streaming
|
|
6
9
|
handle for chunked input) to JavaScript.
|
|
@@ -8,6 +11,11 @@ handle for chunked input) to JavaScript.
|
|
|
8
11
|
This crate is the Rust side of the `@gukhanmun/wasm` npm package. End users
|
|
9
12
|
interact with the TypeScript wrapper, not with this crate directly.
|
|
10
13
|
|
|
14
|
+
[crates.io badge]: https://img.shields.io/crates/v/gukhanmun-wasm?logo=rust
|
|
15
|
+
[crates.io]: https://crates.io/crates/gukhanmun-wasm
|
|
16
|
+
[GPL badge]: https://img.shields.io/crates/l/gukhanmun-wasm
|
|
17
|
+
[GPL]: https://www.gnu.org/licenses/gpl-3.0.html
|
|
18
|
+
|
|
11
19
|
|
|
12
20
|
Exposed types
|
|
13
21
|
-------------
|
|
Binary file
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
gukhanmun-wasm
|
|
2
2
|
==============
|
|
3
3
|
|
|
4
|
+
[![crates.io][crates.io badge]][crates.io]
|
|
5
|
+
[![License: GPL-3.0-only][GPL badge]][GPL]
|
|
6
|
+
|
|
4
7
|
WebAssembly binding for Gukhanmun, generated with `wasm-bindgen`. Exposes
|
|
5
8
|
`WasmGukhanmun` (an owning converter instance) and `WasmStream` (a streaming
|
|
6
9
|
handle for chunked input) to JavaScript.
|
|
@@ -8,6 +11,11 @@ handle for chunked input) to JavaScript.
|
|
|
8
11
|
This crate is the Rust side of the `@gukhanmun/wasm` npm package. End users
|
|
9
12
|
interact with the TypeScript wrapper, not with this crate directly.
|
|
10
13
|
|
|
14
|
+
[crates.io badge]: https://img.shields.io/crates/v/gukhanmun-wasm?logo=rust
|
|
15
|
+
[crates.io]: https://crates.io/crates/gukhanmun-wasm
|
|
16
|
+
[GPL badge]: https://img.shields.io/crates/l/gukhanmun-wasm
|
|
17
|
+
[GPL]: https://www.gnu.org/licenses/gpl-3.0.html
|
|
18
|
+
|
|
11
19
|
|
|
12
20
|
Exposed types
|
|
13
21
|
-------------
|
|
Binary file
|
package/dist/wasm/web/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
gukhanmun-wasm
|
|
2
2
|
==============
|
|
3
3
|
|
|
4
|
+
[![crates.io][crates.io badge]][crates.io]
|
|
5
|
+
[![License: GPL-3.0-only][GPL badge]][GPL]
|
|
6
|
+
|
|
4
7
|
WebAssembly binding for Gukhanmun, generated with `wasm-bindgen`. Exposes
|
|
5
8
|
`WasmGukhanmun` (an owning converter instance) and `WasmStream` (a streaming
|
|
6
9
|
handle for chunked input) to JavaScript.
|
|
@@ -8,6 +11,11 @@ handle for chunked input) to JavaScript.
|
|
|
8
11
|
This crate is the Rust side of the `@gukhanmun/wasm` npm package. End users
|
|
9
12
|
interact with the TypeScript wrapper, not with this crate directly.
|
|
10
13
|
|
|
14
|
+
[crates.io badge]: https://img.shields.io/crates/v/gukhanmun-wasm?logo=rust
|
|
15
|
+
[crates.io]: https://crates.io/crates/gukhanmun-wasm
|
|
16
|
+
[GPL badge]: https://img.shields.io/crates/l/gukhanmun-wasm
|
|
17
|
+
[GPL]: https://www.gnu.org/licenses/gpl-3.0.html
|
|
18
|
+
|
|
11
19
|
|
|
12
20
|
Exposed types
|
|
13
21
|
-------------
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gukhanmun/wasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-dev.21",
|
|
4
4
|
"description": "WebAssembly implementation of the Gukhanmun hanja-to-hangul converter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@gukhanmun/types": "*"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@gukhanmun/types": "0.1.
|
|
48
|
+
"@gukhanmun/types": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsdown && node -e \"const fs=require('node:fs'),p=require('node:path');fs.cpSync('wasm','dist/wasm',{recursive:true,force:true,filter:(s)=>p.basename(s)!=='.gitignore'})\""
|