@kimdayoun/hwpx-mcp 0.3.0
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/LICENSE +21 -0
- package/README.md +356 -0
- package/dist/HangingIndentCalculator.d.ts +69 -0
- package/dist/HangingIndentCalculator.js +348 -0
- package/dist/HwpxDocument.d.ts +1607 -0
- package/dist/HwpxDocument.js +10845 -0
- package/dist/HwpxParser.d.ts +76 -0
- package/dist/HwpxParser.js +3848 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4317 -0
- package/dist/types.d.ts +1641 -0
- package/dist/types.js +8 -0
- package/package.json +67 -0
package/dist/types.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ============================================================
|
|
3
|
+
// HWPML/HWPX Type Definitions
|
|
4
|
+
// Based on: 한글문서파일형식3.0_HWPML_revision1.2.md
|
|
5
|
+
// hwpunit: 10pt = 1000 hwpunit
|
|
6
|
+
// Colors: RGB as decimal (0x00bbggrr format)
|
|
7
|
+
// ============================================================
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kimdayoun/hwpx-mcp",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "한글 문서(HWPX)를 읽고 쓰는 MCP 서버 — 125개 도구. 문단·표·스타일·이미지·머리말/꼬리말까지 XML 수준으로 편집한다. MCP Server for Korean HWPX documents.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"hwpx-mcp": "dist/index.js",
|
|
9
|
+
"dayoun-hwpx-mcp": "dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"mcp",
|
|
18
|
+
"model-context-protocol",
|
|
19
|
+
"hwpx",
|
|
20
|
+
"hwp",
|
|
21
|
+
"hangul",
|
|
22
|
+
"한글",
|
|
23
|
+
"korean",
|
|
24
|
+
"document",
|
|
25
|
+
"claude",
|
|
26
|
+
"codex",
|
|
27
|
+
"llm",
|
|
28
|
+
"ai"
|
|
29
|
+
],
|
|
30
|
+
"author": "Dayoun Kim <dayoooun@gmail.com>",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"homepage": "https://github.com/Dayoooun/hwpx-mcp#readme",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "git+https://github.com/Dayoooun/hwpx-mcp.git",
|
|
36
|
+
"directory": "mcp-server"
|
|
37
|
+
},
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/Dayoooun/hwpx-mcp/issues"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18.0.0"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "tsc",
|
|
49
|
+
"prepublishOnly": "npm run build",
|
|
50
|
+
"start": "node dist/index.js",
|
|
51
|
+
"test": "vitest run",
|
|
52
|
+
"test:watch": "vitest"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
56
|
+
"hwp.js": "^0.0.3",
|
|
57
|
+
"jszip": "^3.10.1",
|
|
58
|
+
"pako": "^2.1.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^20.0.0",
|
|
62
|
+
"@types/pako": "^2.0.4",
|
|
63
|
+
"ts-node": "^10.9.2",
|
|
64
|
+
"typescript": "^5.0.0",
|
|
65
|
+
"vitest": "^4.0.17"
|
|
66
|
+
}
|
|
67
|
+
}
|