{"_id":"@m2d/remark-docx","_rev":"12-5a223af718410f7d733eb043c80391e1","name":"@m2d/remark-docx","dist-tags":{"latest":"1.2.2"},"versions":{"0.0.0":{"name":"@m2d/remark-docx","version":"0.0.0","keywords":["automation","customizable","docx","docx formatting","document generator","footnotes","hyperlinks","images","markdown","markdown-to-docx","mdast","mdast2docx","mdast extensions","ms-word","nodes","open-source","remark","remark plugin","rich text","text-processing","typescript","unified","unist","unist custom nodes","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/remark-docx","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"a943a5a1cfee2a31518c5ae27befbc97fcc4ea45","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.0.tgz","fileCount":2,"integrity":"sha512-K4dKTUl3myZqTfSMmQF40+yvPKjdbtxArcn7nlx/BHSklJVWu07NxRoT2/zF6sNf65jQBctHMs98jyNUYQz9hQ==","signatures":[{"sig":"MEQCIH3r6xC93qnpO8zK7wUrwLBOtIbvxo4r1VfioCkwQxhNAiAio96lf72oMo9iM7sbzhRjD8t6kZFbP3mczq+TVOF79g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8167},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"c047a8854856efdfb114120618cfda3a5427ba76","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"unified":"^11.0.5","mdast2docx":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","@types/node":"^22.13.11","@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.0_1742750564989_0.3845590026343857","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@m2d/remark-docx","version":"0.0.1","keywords":["automation","customizable","docx","docx formatting","document generator","footnotes","hyperlinks","images","markdown","markdown-to-docx","mdast","mdast2docx","mdast extensions","ms-word","nodes","open-source","remark","remark plugin","rich text","text-processing","typescript","unified","unist","unist custom nodes","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/remark-docx","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"2ea59c6c10b03af56921e03a757fe10422dc8cd1","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.1.tgz","fileCount":2,"integrity":"sha512-sEMNEWs9WWSPVAQ/qCyRxwMFUhME0qtRygZ5apchexd04A+uXHNqAmvfxtlTgFC4SnrrUgw44Exqf6PMUpCM5Q==","signatures":[{"sig":"MEYCIQCXhOtN9Nygt/KnfLPTpYrqFA/zvX5txFVsaBgdXjCgmgIhAInBDgPp0wskCAxE8f0aDQQDJ9kBgX4pUIKB0m4kPDcT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8247},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"5f2a278575851f8e08ab6a870dec363247625aa5","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"unified":"^11.0.5","mdast2docx":"^0.3.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","@types/node":"^22.13.12","@types/mdast":"^4.0.4","@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.1_1742816838830_0.41563948270793705","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@m2d/remark-docx","version":"0.0.2","keywords":["automation","customizable","docx","docx formatting","document generator","footnotes","hyperlinks","images","markdown","markdown-to-docx","mdast","mdast2docx","mdast extensions","ms-word","nodes","open-source","remark","remark plugin","rich text","text-processing","typescript","unified","unist","unist custom nodes","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/remark-docx","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"ec1c55725510a3fb9d265481089cddbd41353c52","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.2.tgz","fileCount":5,"integrity":"sha512-QpvE+Wkqo8SPj2GhYnFdlzUHv3Taqe9rE/habf4UlGxnozNdYwC9LrShmyN/tgXIysEwGc5aF6spEzU5AAktsA==","signatures":[{"sig":"MEUCIQDw6vSNY7UtfTiLFju+6gtGNxjFIhbDlXDyBqhj6Ma2OAIgZNqkRr6SkZAaK+SP8fe1lQ3ydxMODD79ZXtAaQImnG4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10245},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"6bf115ecf15c9279ab334c06df639a3ad9aa474f","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"unified":"^11.0.5","mdast2docx":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","typescript":"^5.8.2","@types/node":"^22.13.13","@types/mdast":"^4.0.4","@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.2_1742822130560_0.822711839300277","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@m2d/remark-docx","version":"0.0.3","keywords":["automation","customizable","docx","docx formatting","document generator","footnotes","hyperlinks","images","markdown","markdown-to-docx","mdast","mdast2docx","mdast extensions","ms-word","nodes","open-source","remark","remark plugin","rich text","text-processing","typescript","unified","unist","unist custom nodes","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.3","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/remark-docx","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"5b78853128b70f8b643f4fcee5ff0dc18db9a7ae","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.3.tgz","fileCount":5,"integrity":"sha512-ZXkxPVjQFw/JpC0vU4KhyzHvpwJvaGXOnCcbREKz/nhXookQIC9IcezmRf/cfBVWe7+EP7E+wjzfYCXraM1s8g==","signatures":[{"sig":"MEUCIH2kZ8gz+hVhAlA7GNBW7kADFVPJQkh5CPoCgm+WvUQBAiEAj0VKRMEERe/gCrzIqH+O1d7+bdIzcrOXy1dV2D5fvrw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10245},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/tiny-md","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"131849e53aa8f7345daaecd48dc83319183e688d","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/tiny-md/mdast2docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"unified":"^11.0.5","mdast2docx":"workspace:*"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","typescript":"^5.8.2","@types/node":"^22.13.13","@types/mdast":"^4.0.4","@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.3_1742822686759_0.19823578002025344","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@m2d/remark-docx","version":"0.0.4","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.4","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"482678c3ece5c2ef50f4cf29e4bf2e3dc270b714","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.4.tgz","fileCount":5,"integrity":"sha512-bYjLsksXYis3UaoCh6od6GrEGNLU5W5ZVzRTNTDLqFeAEFLE4EbIik8DgJw9I6Y7eL5m3yeBw3gWXc/yy+X9iw==","signatures":[{"sig":"MEYCIQD/wNqiU7AuLbDQ//IX2JGwDI0L8m5DpnNmIZdguo75JAIhAJfyP7bnyZ6fkuntX5NtiAqKmwvrBsfXQjfihKJy5GNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11130},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"aba0f9c8a735833f98a178c94db62ff59b7c7425","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"mdast2docx":"0.3.5"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.0.9","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.2","@types/node":"^22.13.13","@types/mdast":"^4.0.4","@types/react":"^19.0.12","remark-parse":"^11.0.0","@types/react-dom":"^19.0.4","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.0.9","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.2.0","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.4_1742964902934_0.5355267657866729","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@m2d/remark-docx","version":"0.0.5","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.0.5","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"2d1c2986b5a949ba2280fa4824b23469e0d75b4e","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.0.5.tgz","fileCount":5,"integrity":"sha512-IvM/fHLrmqgxXpEd+7KHsZjr1X8yyFd2I9vw+tnq0FtIyLcjEPeYl3Mc9o/RL6WcSJqUWsvrByl2pQTAaRvFBA==","signatures":[{"sig":"MEQCIBZuZGlh8F7thH8TCM+6VVKUrpOyvIIAj3Oaz0GoO8jzAiAwd+vGZgAH1MVak3crQJVjdk5bhlSnV4txwWFWCZZCaA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11102},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"45ef0bd99745d52cd0aa2c5e6b9e515e51692053","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"docx":"^9.3.0","mdast2docx":"0.3.5"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.0.9","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.2","@types/node":"^22.13.13","@types/mdast":"^4.0.4","@types/react":"^19.0.12","remark-parse":"^11.0.0","@types/react-dom":"^19.0.4","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.0.9","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.2.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.0.5_1743143146485_0.3738173635764197","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@m2d/remark-docx","version":"0.1.0","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@0.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"2f03c1589590dd934f47de779a167e2c6bca07c6","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-0.1.0.tgz","fileCount":5,"integrity":"sha512-LX+jDDyQIR8d7SgCyf60mXh31HpwvAXigf0qRahjDe7C7pZ/6uclZO9YAUKdd7W0IhPDckAjtOL6xJpo4OIHBA==","signatures":[{"sig":"MEUCIHyDCrAOPRCaC5knyzYuRDCEkAa4vverh7WNu2M0HjGRAiEAvc5vngC2Rk3jjx4tB/S6WTsV5fv1tEJNH7YvtUGY7Kg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11145},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"3de30bc33e9484484f60c4d1778492e121310e95","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"docx":"^9.3.0","mdast2docx":"0.4.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.8.3","@types/node":"^22.14.0","@types/mdast":"^4.0.4","@types/react":"^19.1.0","remark-parse":"^11.0.0","@types/react-dom":"^19.1.1","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.3.4","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_0.1.0_1744130006654_0.6940524882461665","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@m2d/remark-docx","version":"1.0.0","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@1.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"d05df6bd743461feec034326ba7bbedef7b1109f","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-1.0.0.tgz","fileCount":5,"integrity":"sha512-r+iLF4GSB2oxNv1qGs2676GOXnXlrGsC/wGacRjLj7Rv/tmI+N+vVd1gT2ARtzFGPNCH8RUEHKvBWrr+Sqc13g==","signatures":[{"sig":"MEUCIDiB35JxPTt8FDRPZvqKvVNchDmsobcFDqvyuJIeMy5JAiEA/lmDKmAKHgcSNbbWOF+1bdtJojzubyli4Iyv19LmmhQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11145},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"46723161a0661ebf43df647d6bf7bd9de18732e6","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.4","dependencies":{"docx":"^9.5.1","mdast2docx":"1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.4","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.9.2","@types/node":"^24.3.1","@types/mdast":"^4.0.4","@types/react":"^19.1.12","remark-parse":"^11.0.0","@types/react-dom":"^19.1.9","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^5.0.2","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_1.0.0_1757185799656_0.7035104989255425","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@m2d/remark-docx","version":"1.1.0","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@1.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"db7b64eaa2472a7c5e99fd400329c30349f9cae6","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-1.1.0.tgz","fileCount":5,"integrity":"sha512-zylte2Thiac7MHb/W+5J5hYDsg1UaB6qnk9ycyzr6+Po3lcIHZNlx+UTo1tl+AmqDz+dGV8rKpahFqPIdl8AZQ==","signatures":[{"sig":"MEUCIQCKsPJGn2B48KvoD9ef8VTXpOVGzFtDxIsN+UbCQrOgJgIgC+QUJLt6YU3cATYsbBjfuDtsKQjaUd5TJnEYZ7SWwu0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11144},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"252d3eda0e996ba3c3b356ca9a62939dd0492ae5","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"docx":"^9.5.1","mdast2docx":"1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.5.0","jsdom":"^27.1.0","vitest":"^4.0.5","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.9.2","@types/mdast":"^4.0.4","@types/react":"^19.2.2","remark-parse":"^11.0.0","@types/react-dom":"^19.2.2","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^4.0.5","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^5.1.0","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_1.1.0_1761899075024_0.5218587539490258","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@m2d/remark-docx","version":"1.2.0","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@1.2.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"2b94be126352531dc44d6cf944fa6da44a658847","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-1.2.0.tgz","fileCount":5,"integrity":"sha512-qmafMDsjvSdxUEQtbyFEmM9DRnlfVPzjX5bFFRCH4yOOBFCzMyJGyGsUN02Qrksz9gQWpnomM4ztIv3pCR29bg==","signatures":[{"sig":"MEQCIFC1d/BEFbap86Zgsnqo7dLzCpdufRFpvWOsjG/2i/KwAiBg3OmKNyV4AE0h1Tw4SjJm3FdyIVHhI+27OqVolDbkBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11772},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"fbf20e87521848730c15f2443e096dfc23493f74","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"docx":"^9.5.1","mdast2docx":"1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.5.0","jsdom":"^27.1.0","vitest":"^4.0.5","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.9.2","@types/mdast":"^4.0.4","@types/react":"^19.2.2","remark-parse":"^11.0.0","@types/react-dom":"^19.2.2","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^4.0.5","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^5.1.0","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_1.2.0_1763190662658_0.6942834836594343","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@m2d/remark-docx","version":"1.2.1","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/remark-docx@1.2.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/remark-docx/#readme","bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"dist":{"shasum":"dcad9c6f552c7d14e55a38d3607dbf899ba2220c","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-1.2.1.tgz","fileCount":5,"integrity":"sha512-TEjKQbBzk3zGdL3HnCCVc3cExKx5z1ZeD0T2BWjPMKCrBn6tIAZJOk/m31DM9dfwb6DHLveTz13qyj4JkUrsKQ==","signatures":[{"sig":"MEUCIQD1/a+GfJnTYbw2moEjK0I2eGxaJD1FoU1cT6QdyJzQYAIgVJbuQppWAhiCBj5WArLfbppEqYmlo+zu0zPd20qJFxc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12056},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"gitHead":"a4875dddbd78a9b7509decb93ebf9c7bc5b00d21","private":false,"scripts":{"dev":"tsup --watch && tsc -p tsconfig-build.json -w","lint":"eslint src/","test":"vitest run --coverage","build":"tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c","clean":"rm -rf dist","lint:fix":"eslint src/ --fix","typecheck":"tsc --noEmit"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"git+https://github.com/md2docx/remark-docx.git","type":"git"},"_npmVersion":"10.8.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"docx":"^9.5.1","mdast2docx":"1.6.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.5.0","jsdom":"^27.1.0","vitest":"^4.0.5","unified":"^11.0.5","remark-gfm":"^4.0.1","typescript":"^5.9.3","@types/node":"^24.9.2","@types/mdast":"^4.0.4","@types/react":"^19.2.2","remark-parse":"^11.0.0","@types/react-dom":"^19.2.2","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^4.0.5","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^5.1.0","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/remark-docx_1.2.1_1763192385916_0.22189433141743975","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@m2d/remark-docx","author":{"name":"Mayank Kumar Chaudhari","url":"https://mayank-chaudhari.vercel.app"},"private":false,"version":"1.2.2","description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","license":"MPL-2.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/md2docx/remark-docx.git"},"bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"homepage":"https://github.com/md2docx/remark-docx/#readme","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"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","test":"vitest run --coverage"},"devDependencies":{"@repo/eslint-config":"workspace:*","@repo/typescript-config":"workspace:*","@testing-library/react":"^16.3.0","@types/mdast":"^4.0.4","@types/node":"^24.9.2","@types/react":"^19.2.2","@types/react-dom":"^19.2.2","@vitejs/plugin-react":"^5.1.0","@vitest/coverage-v8":"^4.0.5","docx":"^9.3.0","esbuild-plugin-rdi":"^0.0.0","jsdom":"^27.1.0","remark-gfm":"^4.0.1","remark-parse":"^11.0.0","tsup":"^8.5.0","typescript":"^5.9.3","unified":"^11.0.5","vite-tsconfig-paths":"^5.1.4","vitest":"^4.0.5"},"dependencies":{"docx":"^9.5.1","mdast2docx":"1.6.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/md2docx"},{"type":"github","url":"https://github.com/sponsors/mayank1513"}],"keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"_id":"@m2d/remark-docx@1.2.2","gitHead":"df4c7ac86f18d30a9dfaef8b34e3db3fcfa910ad","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sKItySqayVnxolCdVbEJUkN83LAaUPtU56VZkrmG/DhxxuKWXmIvjpWYCqPSSnDtDC9waWWOQhfOxdKWn3UB4A==","shasum":"971ee13d86d8f8918c7b23b4ec922f486a599796","tarball":"https://registry.npmjs.org/@m2d/remark-docx/-/remark-docx-1.2.2.tgz","fileCount":5,"unpackedSize":11956,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fremark-docx@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCFnOvx6E8aX0VM7ypQ4jTwLES5WC/aR6OM5D1EURms1QIgbrDR2sTQBAEbZjmBfqz7Rjrm0OfqiqwTBOLM5GmGr8M="}]},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"directories":{},"maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-docx_1.2.2_1763193774021_0.27642945473636815"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-23T17:22:44.905Z","modified":"2025-11-15T08:02:54.728Z","0.0.0":"2025-03-23T17:22:45.164Z","0.0.1":"2025-03-24T11:47:19.022Z","0.0.2":"2025-03-24T13:15:30.783Z","0.0.3":"2025-03-24T13:24:46.944Z","0.0.4":"2025-03-26T04:55:03.123Z","0.0.5":"2025-03-28T06:25:46.658Z","0.1.0":"2025-04-08T16:33:26.959Z","1.0.0":"2025-09-06T19:09:59.851Z","1.1.0":"2025-10-31T08:24:35.213Z","1.2.0":"2025-11-15T07:11:02.862Z","1.2.1":"2025-11-15T07:39:46.114Z","1.2.2":"2025-11-15T08:02:54.261Z"},"bugs":{"url":"https://github.com/md2docx/remark-docx/issues"},"author":{"name":"Mayank Kumar Chaudhari","url":"https://mayank-chaudhari.vercel.app"},"license":"MPL-2.0","homepage":"https://github.com/md2docx/remark-docx/#readme","keywords":["remark-docx","remark-plugin","markdown-to-docx","mdast-to-docx","docx-formatting","text-processing","mdast-extensions","unist-custom-nodes","nodes","images","hyperlinks","footnotes","converter","plugin","markdown","mdast","unist","remark","unified","docx","ms-word","document-generator","document-generation","typescript","open-source","customizable","seamless-integration","modern","web-development","frontend","automation","google-sheets","generative-ai","rich-text","cutting-edge","compatibility","progressive","md2docx","mdast2docx","m2d","mayank1513"],"repository":{"type":"git","url":"git+https://github.com/md2docx/remark-docx.git"},"description":"A unified plugin to prepare MDAST trees for DOCX conversion using mdast2docx.","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"readme":"# @m2d/remark-docx <img src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" height=\"40\"/>\n\n[![test](https://github.com/md2docx/remark-docx/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/remark-docx/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/md2docx/remark-docx/graph/badge.svg)](https://codecov.io/gh/md2docx/remark-docx) [![Version](https://img.shields.io/npm/v/@m2d/remark-docx?color=green)](https://www.npmjs.com/package/@m2d/remark-docx)\n![Downloads](https://img.shields.io/npm/d18m/@m2d/remark-docx)\n![Bundle Size](https://img.shields.io/bundlephobia/minzip/@m2d/remark-docx)\n\n> A Unified/Remark plugin that injects a DOCX compiler using [`mdast2docx`](https://github.com/md2docx/mdast2docx) and outputs `.docx` files from Markdown.\n\n---\n\n## 🧭 Overview\n\n`@m2d/remark-docx` enables direct export of Markdown content to Microsoft Word (`.docx`) using the Unified ecosystem. It seamlessly bridges `remark` with the [`mdast2docx`](https://github.com/md2docx/mdast2docx) compiler and auto-injects common plugins like GFM tables, math, lists, and inline HTML support.\n\nIt’s designed for both **browser** and **Node.js** environments, handling environment-specific features like image or HTML parsing smartly.\n\n---\n\n## ✨ Features\n\n- 📄 Converts Markdown to `.docx` using `mdast2docx`\n- 🔌 Auto-injects plugins for GFM tables, math, lists, images, and HTML\n- 🧠 Smart: excludes DOM-only plugins in Node.js\n- 💥 Supports both `.process()` and `.processSync()` with an async `.result`\n- 🔄 Output as `Blob`, `Buffer`, or `base64`\n\n---\n\n## 📦 Installation\n\n```bash\nnpm install @m2d/remark-docx docx\n```\n\nAlso install any optional plugins you wish to include in your pipeline:\n\n```bash\nnpm install remark-parse remark-gfm remark-math remark-frontmatter\n```\n\nOther package managers:\n\n```bash\nyarn add @m2d/remark-docx docx\npnpm add @m2d/remark-docx docx\n```\n\n---\n\n## 🚀 Usage\n\n### 🔗 Browser Example (Async)\n\n```ts\nimport { unified } from \"unified\";\nimport remarkParse from \"remark-parse\";\nimport remarkGfm from \"remark-gfm\";\nimport remarkMath from \"remark-math\";\nimport remarkFrontmatter from \"remark-frontmatter\";\nimport { remarkDocx } from \"@m2d/remark-docx\";\n\nconst processor = unified()\n  .use(remarkParse)\n  .use(remarkGfm)\n  .use(remarkFrontmatter)\n  .use(remarkMath)\n  .use(remarkDocx);\n\nconst downloadDocx = () => {\n  processor\n    .process(md)\n    .then(res => res.result)\n    .then(blob => {\n      const url = URL.createObjectURL(blob as Blob);\n      const link = document.createElement(\"a\");\n      link.href = url;\n      link.download = \"document.docx\";\n      link.click();\n      URL.revokeObjectURL(url);\n    });\n};\n```\n\n### ⚡ Browser Example (Sync + Async Result)\n\n```ts\nconst { result } = processor.processSync(md) as { result: Promise<Blob> };\nresult.then(blob => {\n  const url = URL.createObjectURL(blob);\n  const link = document.createElement(\"a\");\n  link.href = url;\n  link.download = \"document.docx\";\n  link.click();\n  URL.revokeObjectURL(url);\n});\n```\n\n---\n\n### 🐢 Node.js Example\n\n```ts\nimport fs from \"node:fs\";\nimport { unified } from \"unified\";\nimport remarkParse from \"remark-parse\";\nimport remarkGfm from \"remark-gfm\";\nimport remarkMath from \"remark-math\";\nimport remarkFrontmatter from \"remark-frontmatter\";\nimport { remarkDocx } from \"@m2d/remark-docx\";\n\nconst markdown = `\n# Hello DOCX\n\nThis is a *Markdown* document with **tables**, math, and more.\n\n| A | B |\n|---|---|\n| 1 | 2 |\n\nInline math: $x^2 + y^2 = z^2$\n`;\n\nconst processor = unified()\n  .use(remarkParse)\n  .use(remarkGfm)\n  .use(remarkFrontmatter)\n  .use(remarkMath)\n  .use(remarkDocx, \"buffer\"); // outputType = \"buffer\" in Node\n\nconst { result } = processor.processSync(markdown) as { result: Promise<Buffer> };\n\nresult.then(buffer => {\n  fs.writeFileSync(\"output.docx\", buffer);\n  console.log(\"✔ DOCX file written: output.docx\");\n});\n```\n\n---\n\n## 🧩 Plugin Behavior\n\nBy default, these `mdast2docx` plugins are included:\n\n| Plugin        | Description             |\n| ------------- | ----------------------- |\n| `htmlPlugin`  | Parses inline HTML      |\n| `tablePlugin` | GFM table support       |\n| `listPlugin`  | Ordered/unordered lists |\n| `mathPlugin`  | KaTeX math blocks       |\n| `imagePlugin` | Resolves images         |\n\nOn **Node.js**, `htmlPlugin` and `imagePlugin` are automatically excluded to avoid DOM dependency issues.\n\nTo override this behavior, pass custom plugins using `sectionProps.plugins`.\n\n---\n\n## 📘 API\n\n### `remarkDocx(outputType?, docxProps?, sectionProps?)`\n\n| Param          | Type                                 | Description                         |\n| -------------- | ------------------------------------ | ----------------------------------- |\n| `outputType`   | `\"blob\"` \\| `\"buffer\"` \\| `\"base64\"` | Default is `\"blob\"`                 |\n| `docxProps`    | `IDocxProps`                         | Global DOCX config (optional)       |\n| `sectionProps` | `ISectionProps`                      | Section + plugin control (optional) |\n\nReturns a `Processor` where `.result` on `vfile` is a `Promise<Blob | Buffer | string>` depending on the mode.\n\n---\n\n## 🔥 Output Handling\n\nBoth `.process()` and `.processSync()` return a `vfile` with a `result` field:\n\n```ts\nconst file = await processor.process(md);\nconst blobOrBuffer = await file.result;\n```\n\n> This makes the plugin environment-safe and decoupled from internal mutation or I/O.\n\n---\n\n## 🛠 Development\n\n```bash\nnpm run dev       # Watch mode\nnpm run build     # Compile to /dist\nnpm run lint      # Lint source\nnpm run test      # Run tests\n```\n\n---\n\n## 📄 License\n\nLicensed under the [MPL-2.0 License](https://www.mozilla.org/en-US/MPL/2.0/).\n\n---\n\n## 💖 Sponsors\n\nSupport the project & its ecosystem:\n\n- [@md2docx](https://github.com/sponsors/md2docx)\n- [@mayank1513](https://github.com/sponsors/mayank1513)\n\n---\n\n## 🔗 Related Projects\n\n- [`mdast2docx`](https://github.com/md2docx/mdast2docx) – The DOCX engine\n- [`docx`](https://github.com/dolanmiu/docx) – Low-level DOCX generation\n- [`unified`](https://unifiedjs.com) – Processor pipeline\n- [`remark`](https://github.com/remarkjs/remark) – Markdown parser\n\n---\n\n<p align=\"center\">Made with 💖 by <a href=\"https://mayank-chaudhari.vercel.app\" target=\"_blank\">Mayank Kumar Chaudhari</a></p>\n","readmeFilename":"README.md"}