mdast2docx 0.0.0-beta.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/dist/utils.mjs ADDED
@@ -0,0 +1 @@
1
+ import{c as a,d as b,l as c,m as d,n as e}from"./chunk-O6BHSWEF.mjs";export{b as convertInchesToTwip,a as convertMillimetersToTwip,e as defaultProps,c as getDefinitions,d as getImageMimeType};
package/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "mdast2docx",
3
+ "author": "Mayank Kumar Chaudhari <https://mayank-chaudhari.vercel.app>",
4
+ "private": false,
5
+ "version": "0.0.0-beta.0",
6
+ "description": "Convert Markdown Abstract Syntax Tree (MDAST) to DOCX seamlessly. Supports footnotes, images, links, and customizable document properties.",
7
+ "license": "MPL-2.0",
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.mjs",
10
+ "types": "./dist/index.d.ts",
11
+ "repository": "github:tiny-md/mdast2docx",
12
+ "bugs": "https://github.com/tiny-md/mdast2docx/issues",
13
+ "homepage": "https://github.com/tiny-md/mdast2docx/#readme",
14
+ "sideEffects": false,
15
+ "files": [
16
+ "dist/**"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c",
20
+ "clean": "rm -rf dist",
21
+ "dev": "tsup --watch && tsc -p tsconfig-build.json -w",
22
+ "typecheck": "tsc --noEmit",
23
+ "lint": "eslint src/",
24
+ "lint:fix": "eslint src/ --fix",
25
+ "test": "vitest run --coverage"
26
+ },
27
+ "devDependencies": {
28
+ "@mayank1513/docx": "^9.2.0",
29
+ "@repo/eslint-config": "workspace:*",
30
+ "@repo/typescript-config": "workspace:*",
31
+ "@testing-library/react": "^16.2.0",
32
+ "@types/mdast": "^4.0.4",
33
+ "@types/node": "^22.13.10",
34
+ "@types/react": "^19.0.10",
35
+ "@types/react-dom": "^19.0.4",
36
+ "@vitejs/plugin-react": "^4.3.4",
37
+ "@vitest/coverage-v8": "^3.0.8",
38
+ "esbuild-plugin-rdi": "^0.0.0",
39
+ "esbuild-plugin-react18": "0.2.6",
40
+ "esbuild-plugin-react18-css": "^0.0.4",
41
+ "jsdom": "^26.0.0",
42
+ "react": "^19.0.0",
43
+ "react-dom": "^19.0.0",
44
+ "remark-gfm": "^4.0.1",
45
+ "remark-parse": "^11.0.0",
46
+ "tsup": "^8.4.0",
47
+ "typescript": "^5.8.2",
48
+ "unified": "^11.0.5",
49
+ "vite-tsconfig-paths": "^5.1.4",
50
+ "vitest": "^3.0.8"
51
+ },
52
+ "dependencies": {
53
+ "r18gs": "^3.0.1"
54
+ },
55
+ "peerDependencies": {
56
+ "@types/react": ">=16.8",
57
+ "next": ">=10",
58
+ "react": ">=16.8"
59
+ },
60
+ "peerDependenciesMeta": {
61
+ "next": {
62
+ "optional": true
63
+ }
64
+ },
65
+ "funding": [
66
+ {
67
+ "type": "github",
68
+ "url": "https://github.com/sponsors/tiny-md"
69
+ },
70
+ {
71
+ "type": "github",
72
+ "url": "https://github.com/sponsors/mayank1513"
73
+ }
74
+ ],
75
+ "keywords": [
76
+ "mdast",
77
+ "markdown",
78
+ "docx",
79
+ "markdown-to-docx",
80
+ "mdast-to-docx",
81
+ "converter",
82
+ "remark",
83
+ "unified",
84
+ "footnotes",
85
+ "images",
86
+ "hyperlinks",
87
+ "text-processing",
88
+ "document-generator",
89
+ "typescript",
90
+ "open-source",
91
+ "modern",
92
+ "customizable",
93
+ "seamless-integration",
94
+ "cutting-edge",
95
+ "compatibility",
96
+ "progressive",
97
+ "frontend",
98
+ "web-development",
99
+ "document-generation",
100
+ "rich-text",
101
+ "export",
102
+ "ms-word",
103
+ "automation",
104
+ "mayank1513"
105
+ ]
106
+ }