@m2d/mdast
Version:
Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.
82 lines (81 loc) • 2.02 kB
JSON
{
"name": "@m2d/mdast",
"author": "Mayank Kumar Chaudhari (https://mayank-chaudhari.vercel.app)",
"private": false,
"version": "0.2.4",
"description": "Extended MDAST types and custom node data for mdast2docx with support for DOCX formatting.",
"license": "MPL-2.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"repository": "github:md2docx/mdast",
"bugs": "https://github.com/md2docx/mdast/issues",
"homepage": "https://github.com/md2docx/mdast/#readme",
"sideEffects": false,
"files": [
"dist/**"
],
"exports": {
".": "./dist/index.d.ts",
"./utils": "./dist/utils.d.ts",
"./dist/utils": "./dist/utils.d.ts"
},
"scripts": {
"build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c",
"clean": "rm -rf dist",
"dev": "tsup --watch && tsc -p tsconfig-build.json -w",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^24.0.1",
"@types/unist": "^3.0.3",
"docx": "^9.5.0",
"esbuild-plugin-rdi": "^0.0.0",
"mermaid": "^11.6.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"docx": "^9.3.0"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/md2docx"
},
{
"type": "github",
"url": "https://github.com/sponsors/mayank1513"
}
],
"keywords": [
"mdast",
"mdast extensions",
"custom nodes",
"unist custom nodes",
"unist",
"markdown",
"markdown-to-docx",
"customizable",
"docx formatting",
"text-processing",
"typescript",
"remark",
"unified",
"open-source",
"web-development",
"automation",
"docx",
"document generator",
"ms-word",
"rich text",
"footnotes",
"hyperlinks",
"images",
"mdast2docx"
]
}