@fre4x/docx 1.0.45

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.
Files changed (3) hide show
  1. package/README.md +35 -0
  2. package/dist/index.js +78018 -0
  3. package/package.json +35 -0
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@fre4x/docx",
3
+ "version": "1.0.45",
4
+ "description": "DOCX Editor MCP server",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "docx": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "type": "module",
13
+ "scripts": {
14
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npx esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --format=esm --banner:js=\"import{createRequire}from'module';const require=createRequire(import.meta.url);\"",
15
+ "dev": "tsx src/index.ts",
16
+ "typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsc --noEmit",
17
+ "prepublishOnly": "npm run typecheck && npm run build",
18
+ "test": "vitest run --exclude dist",
19
+ "test:watch": "vitest",
20
+ "inspector": "MOCK=true npx @modelcontextprotocol/inspector node dist/index.js"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^25.3.5",
24
+ "esbuild": "^0.27.3",
25
+ "tsx": "^4.21.0",
26
+ "typescript": "^5.9.3",
27
+ "vitest": "^4.0.18"
28
+ },
29
+ "dependencies": {
30
+ "@modelcontextprotocol/sdk": "^1.27.1",
31
+ "docx": "^9.6.0",
32
+ "mammoth": "^1.11.0",
33
+ "zod": "^4.3.6"
34
+ }
35
+ }