@gukhanmun/napi 0.1.0-dev.12 → 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/README.md CHANGED
@@ -9,8 +9,12 @@ built with napi-rs. Requires Node.js 20+. For environments other than Node.js
9
9
  Installation
10
10
  ------------
11
11
 
12
- ~~~~ sh
13
- npm install @gukhanmun/napi
12
+ ~~~~ bash
13
+ npm add @gukhanmun/napi
14
+ pnpm add @gukhanmun/napi
15
+ yarn add @gukhanmun/napi
16
+ bun add @gukhanmun/napi
17
+ deno add npm:@gukhanmun/napi
14
18
  ~~~~
15
19
 
16
20
  The package declares six optional platform dependencies
@@ -18,14 +22,14 @@ The package declares six optional platform dependencies
18
22
  etc.). npm installs only the one matching the current OS, CPU architecture, and
19
23
  libc variant. The supported targets are:
20
24
 
21
- | Target | OS | Architecture |
22
- | -------------------------- | ------------ | ------------ |
23
- | aarch64-apple-darwin | macOS | ARM64 |
24
- | x86\_64-apple-darwin | macOS | x86\_64 |
25
- | aarch64-pc-windows-msvc | Windows | ARM64 |
26
- | x86\_64-pc-windows-msvc | Windows | x86\_64 |
27
- | aarch64-unknown-linux-gnu | Linux (glibc) | ARM64 |
28
- | x86\_64-unknown-linux-gnu | Linux (glibc) | x86\_64 |
25
+ | Target | OS | Architecture |
26
+ | ------------------------- | ------------- | ------------ |
27
+ | aarch64-apple-darwin | macOS | ARM64 |
28
+ | x86\_64-apple-darwin | macOS | x86\_64 |
29
+ | aarch64-pc-windows-msvc | Windows | ARM64 |
30
+ | x86\_64-pc-windows-msvc | Windows | x86\_64 |
31
+ | aarch64-unknown-linux-gnu | Linux (glibc) | ARM64 |
32
+ | x86\_64-unknown-linux-gnu | Linux (glibc) | x86\_64 |
29
33
 
30
34
  musl Linux (Alpine, etc.) is not covered by a prebuilt binary. Build from
31
35
  source with `mise run napi-build` on those platforms.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * contract structurally. All TSDoc lives here as the single source of
9
9
  * truth for the JavaScript API.
10
10
  *
11
- * @module
11
+ * @module @gukhanmun/types
12
12
  */
13
13
  /**
14
14
  * Named configuration preset that sets orthographic and lexical defaults.
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.12",
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-aarch64-apple-darwin": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc",
18
- "@gukhanmun/napi-x86_64-apple-darwin": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc",
19
- "@gukhanmun/napi-aarch64-pc-windows-msvc": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc",
20
- "@gukhanmun/napi-x86_64-unknown-linux-gnu": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc",
21
- "@gukhanmun/napi-x86_64-pc-windows-msvc": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc",
22
- "@gukhanmun/napi-aarch64-unknown-linux-gnu": "0.1.0-dev.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc"
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.12+2585cf2de491fd0f8b06f35e0c83fe8a779280cc"
55
+ "@gukhanmun/types": "0.1.0-dev.14+e0664866e5b37361a9beed45fb9b4e6ce93a8669"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsdown"