@gukhanmun/napi 0.1.0-dev.13 → 0.1.0-dev.14
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,8 +3,6 @@ import { readFile } from "node:fs/promises";
|
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
4
|
//#region index.ts
|
|
5
5
|
/**
|
|
6
|
-
* @module
|
|
7
|
-
*
|
|
8
6
|
* Node.js native addon (napi-rs) implementation of the Gukhanmun
|
|
9
7
|
* hanja-to-hangul converter.
|
|
10
8
|
*
|
|
@@ -26,6 +24,8 @@ import { fileURLToPath, pathToFileURL } from "node:url";
|
|
|
26
24
|
* const g = await load({ dictionaries: [await stdictFst()] });
|
|
27
25
|
* console.log(g.convert("漢字를 한글로")); // "한자를 한글로"
|
|
28
26
|
* ```
|
|
27
|
+
*
|
|
28
|
+
* @module @gukhanmun/napi
|
|
29
29
|
*/
|
|
30
30
|
/** Returns the platform-specific optional-dependency package name. */
|
|
31
31
|
function detectPlatformPackage() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gukhanmun/napi",
|
|
3
|
-
"version": "0.1.0-dev.
|
|
3
|
+
"version": "0.1.0-dev.14",
|
|
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-
|
|
18
|
-
"@gukhanmun/napi-
|
|
19
|
-
"@gukhanmun/napi-aarch64-
|
|
20
|
-
"@gukhanmun/napi-x86_64-pc-windows-msvc": "0.1.0-dev.
|
|
21
|
-
"@gukhanmun/napi-aarch64-unknown-linux-gnu": "0.1.0-dev.
|
|
22
|
-
"@gukhanmun/napi-x86_64-unknown-linux-gnu": "0.1.0-dev.
|
|
17
|
+
"@gukhanmun/napi-aarch64-apple-darwin": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669",
|
|
18
|
+
"@gukhanmun/napi-x86_64-apple-darwin": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669",
|
|
19
|
+
"@gukhanmun/napi-aarch64-pc-windows-msvc": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669",
|
|
20
|
+
"@gukhanmun/napi-x86_64-pc-windows-msvc": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669",
|
|
21
|
+
"@gukhanmun/napi-aarch64-unknown-linux-gnu": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669",
|
|
22
|
+
"@gukhanmun/napi-x86_64-unknown-linux-gnu": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669"
|
|
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.0-dev.
|
|
55
|
+
"@gukhanmun/types": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsdown"
|