@gukhanmun/napi 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 +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
@gukhanmun/napi
|
|
2
2
|
===============
|
|
3
3
|
|
|
4
|
+
[![npm][npm badge]][npm]
|
|
5
|
+
[![License: GPL-3.0-only][GPL badge]][GPL]
|
|
6
|
+
|
|
4
7
|
Node.js native addon implementation of the Gukhanmun hanja-to-hangul converter,
|
|
5
8
|
built with napi-rs. Requires Node.js 20+. For environments other than Node.js
|
|
6
9
|
(browsers, Deno, Bun via WASM), use `@gukhanmun/wasm` instead.
|
|
7
10
|
|
|
11
|
+
[npm badge]: https://img.shields.io/npm/v/@gukhanmun/napi?logo=npm
|
|
12
|
+
[npm]: https://www.npmjs.com/package/@gukhanmun/napi
|
|
13
|
+
[GPL badge]: https://img.shields.io/npm/l/%40gukhanmun%2Fnapi
|
|
14
|
+
[GPL]: https://www.gnu.org/licenses/gpl-3.0.html
|
|
15
|
+
|
|
8
16
|
|
|
9
17
|
Installation
|
|
10
18
|
------------
|
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/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
13
13
|
* locally with `mise run napi-build`.
|
|
14
14
|
*
|
|
15
15
|
* The `load()` factory is asynchronous for API uniformity with the WASM
|
|
16
|
-
* backend, but the native addon is synchronously ready
|
|
16
|
+
* backend, but the native addon is synchronously ready—dictionary data is
|
|
17
17
|
* the only async part.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gukhanmun/napi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-dev.21",
|
|
4
4
|
"description": "Node.js native addon (napi-rs) for the Gukhanmun hanja-to-hangul converter.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"dist"
|
|
15
15
|
],
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@gukhanmun/napi-aarch64-apple-darwin": "0.1.
|
|
18
|
-
"@gukhanmun/napi-x86_64-apple-darwin": "0.1.
|
|
19
|
-
"@gukhanmun/napi-
|
|
20
|
-
"@gukhanmun/napi-
|
|
21
|
-
"@gukhanmun/napi-aarch64-pc-windows-msvc": "0.1.
|
|
22
|
-
"@gukhanmun/napi-x86_64-
|
|
17
|
+
"@gukhanmun/napi-aarch64-apple-darwin": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484",
|
|
18
|
+
"@gukhanmun/napi-x86_64-apple-darwin": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484",
|
|
19
|
+
"@gukhanmun/napi-x86_64-pc-windows-msvc": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484",
|
|
20
|
+
"@gukhanmun/napi-aarch64-unknown-linux-gnu": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484",
|
|
21
|
+
"@gukhanmun/napi-aarch64-pc-windows-msvc": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484",
|
|
22
|
+
"@gukhanmun/napi-x86_64-unknown-linux-gnu": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484"
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/dahlia/gukhanmun",
|
|
25
25
|
"bugs": "https://github.com/dahlia/gukhanmun/issues",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@gukhanmun/types": "*"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@gukhanmun/types": "0.1.
|
|
55
|
+
"@gukhanmun/types": "0.1.1-dev.21+34c5411094118c72f3e2a3af3927ce47863ec484"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsdown"
|