{"_id":"@m2d/mermaid","_rev":"19-cdcb3c8b2a8c9340e3a2a1a9a8c31e6c","name":"@m2d/mermaid","dist-tags":{"alpha":"0.0.1-alpha.0","latest":"1.3.3"},"versions":{"0.0.1-alpha.0":{"name":"@m2d/mermaid","version":"0.0.1-alpha.0","keywords":["text-processing","markdown-to-docx","mdast-to-docx","mdast","markdown","md2docx","mdast2docx","plugin","converter","docx","ms-word","document-generator","document-generation","remark","unified","images","hyperlinks","footnotes","typescript","open-source","customizable","modern","seamless-integration","cutting-edge","compatibility","progressive","web-development","frontend","automation","google-sheets","generative-ai","rich-text","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@0.0.1-alpha.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"96a3bc175369900aec79d1fce1c6baab8ccf20d6","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-0.0.1-alpha.0.tgz","fileCount":5,"integrity":"sha512-ndxurAvPH/4AXcqiFAQbJOKabnKem1tSdkSGRfzexin6KmdJcWst+0QwTmFQgXZRPivGlcD2Mrwq3dpExLnOxw==","signatures":[{"sig":"MEQCIHkeB8iKoLDbV4NRIBK2trPg5tFwTnZHgqQjGLwIt/ZrAiBD6RMKU7A3t4MZ46lmdrPW7z76BD7inCtfwPXw8MsvWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@0.0.1-alpha.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10503},"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":"5d5c0ef4361eb11eabb34094a8dd794fe7c1ef66","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"[![test](https://github.com/md2docx/mermaid/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/mermaid/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://code","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^0.0.3"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","typescript":"^5.8.2","@types/node":"^22.14.0","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_0.0.1-alpha.0_1743955687862_0.7903624354018899","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@m2d/mermaid","version":"0.0.1","keywords":["text-processing","markdown-to-docx","mdast-to-docx","mdast","markdown","md2docx","mdast2docx","plugin","converter","docx","ms-word","document-generator","document-generation","remark","unified","images","hyperlinks","footnotes","typescript","open-source","customizable","modern","seamless-integration","cutting-edge","compatibility","progressive","web-development","frontend","automation","google-sheets","generative-ai","rich-text","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@0.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"f28d2feb15cb6c6c585221dc243d3666cfeec649","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-0.0.1.tgz","fileCount":5,"integrity":"sha512-UDx8pb3DsxyMYP4FYMbdJ4vqVCRYYWQLT3PyRSJbOQwFbed50N2roQVGwMXCPWtsYztUZR48Jd07YM3dl1qW2Q==","signatures":[{"sig":"MEQCIA9ZbXN3MKlTtN00SRDC8TCpTMgzzdoeFXCNgqqusdXuAiAkoy8ZrGjwGOVR6xMK/Eyqmf0bFQHpZD1zLV0rTXP/UQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7297},"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":"ee7105ac2844edc9bc04f4aba847588497c0a0ac","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"[![test](https://github.com/md2docx/mermaid/actions/workflows/test.yml/badge.svg)](https://github.com/md2docx/mermaid/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://code","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.14.0","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_0.0.1_1744043415162_0.741804414489057","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@m2d/mermaid","version":"0.0.2","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@0.0.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"ed0d2ed7692d49320e934b359a71a1478b6ee0cc","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-0.0.2.tgz","fileCount":5,"integrity":"sha512-ZZon45Ctm6DFqwmn5xFJZi7pzL5KMr3+Rz8eASEg9YLd48dG0nDQ7q3hRXcbesNrLDxa9o8zcltn7+YRtwNjCg==","signatures":[{"sig":"MEUCIGzyewu9zddx6t9HCovDmv6WRR3Nhis51Kkdiqsz14wjAiEAz/gtmHEHtKHzR9V9FiaqSUHjdHlyeScBfL/ZKhhhe+Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7589},"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":"490f2d610085f34bd1b5a10e08534207b61f9548","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^0.0.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.14.0","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_0.0.2_1744044192121_0.7508389729363456","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@m2d/mermaid","version":"0.0.3","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@0.0.3","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"4506b1a0881fccc6fdb14afa5c7b03bfc695ad44","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-0.0.3.tgz","fileCount":5,"integrity":"sha512-iBjacHv/UTSb/wkfsToralVAw4Eke3gxOXtLtYUuL7n5nN25Nd8r67vqO4nrX76vAro1zglYbihVMJRh2fDRUA==","signatures":[{"sig":"MEQCIBqIEFw/jb82AvudevvBR5urMgNTQOEAN4v4x7UtJOTtAiBRbsyUm5y8v6svh5j6trdp+g3e05UXqynsXu02As/B2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7641},"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":"615bdde26fd73c60ff5e30211ebeaf2316c3391a","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^0.0.5"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.1.1","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.14.1","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.1","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_0.0.3_1744440477009_0.0700556291062231","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@m2d/mermaid","version":"1.0.0","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"a22368b26864c064f5f134e18960255cd08f315d","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.0.0.tgz","fileCount":5,"integrity":"sha512-heNcRV8w21cVmvmzdesBAdQgwmEhamVWEjY/6OrssizDC/S2x3TQEEk4h9iXJLfdY1gG8RUc8Zl80RMsJDuBBQ==","signatures":[{"sig":"MEQCIDUByN7MeK30R1bwpumqICz4O5PPyOnXUlsd7Qc24Bc4AiAGj36KxrRmN/2/7LLEKrWhorQk2Q4oqQYVTa5m6ERVRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8201},"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":"778b33a286e73e766d0fff82d5933d6fd7eda535","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.3","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.19","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.3","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.0.0_1747641436061_0.7025963268388475","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@m2d/mermaid","version":"1.0.1","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"bb05fbdf6f8c47e54aaa50ac4b39a2137c3e5b03","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.0.1.tgz","fileCount":5,"integrity":"sha512-BJp7DTGW+RukAExEbniVRvRj4j4N8z03Swto3yBBukb4t//ZzXlL5GWRi2HXzDKbci5A1t3KJ1bXgM8nsg7Row==","signatures":[{"sig":"MEQCICuP2YvpynqoPiuHWZBMLdOexhlzp22iVDWnb/jY4gE2AiATWbzTlFJmZMWPO6ZryV9c6i1FdWq9SMTXVkCW8IDxLw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8291},"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":"58379be39ca4c38db3ac0cedb0fbbe3c7257b8bb","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.3","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.19","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.3","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.0.1_1747652317959_0.4005788341506227","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@m2d/mermaid","version":"1.1.0","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"526acdfd73e989b6579ea46921866979536ad66f","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.0.tgz","fileCount":5,"integrity":"sha512-eamZLPuGhKOS625UwwHtmSmUWoQgwIza7vTWj+qScyj+SSWwYfzXRtOgeUNdzvtto523NwsFXW0hZQIY4cqMmQ==","signatures":[{"sig":"MEQCIB8KhBYWFde4X20FdaqjiW/wUc5k50JcK5SOnV1c9f7IAiBZ9m1L1tCfNcl9fbtGi6ipez9kj87bLUnh3/w77l5qqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8617},"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":"80bedd53ba56f028228f6a580e1199f07d07f59b","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.27","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.0_1748599347612_0.04170247584191933","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@m2d/mermaid","version":"1.1.1","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"c97f79aef2c671fbd0b322451d850b1e15eb378b","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.1.tgz","fileCount":5,"integrity":"sha512-D389519l0Q+LfckFHpqqRxUEf1pTxJ3HOqk2RKMhRkKF1kgAXM2AmpEDPLwcTMe4nxYT+i7/XJbHWU94j29rcA==","signatures":[{"sig":"MEUCIQCdLMeMtAzzgDJJ8B3kLm+KV63lNjG9Y8cPgt5aQrrZzwIgBT1YySPJuqQPcLXMnyE7gN6KuARICvVfTHPSfqaNCog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8641},"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":"33aca0680ca72f85305a7e5249c7a7c8cfef132d","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.27","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.1_1748601986244_0.6435260624052139","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@m2d/mermaid","version":"1.1.2","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"379f9efe512121041da3b28ea8b6cb0227d92b42","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.2.tgz","fileCount":5,"integrity":"sha512-X6JUD+75q1dH5VGei/mzRrbSxIO84q8v7Hzyr0TidvRkdl/nQ9xgl6OVVrIJTIBv2y7GDcUy5ooB6TvBtmCUwQ==","signatures":[{"sig":"MEUCIAz6EEMfhKAuQL9S31gXUi/4yR+2Lz/ej8HP7Z6ohHRxAiEAppwTT8gHnqgfdKxbYF5ZTlRxr2uhdvO8SyOTSXH8Y64=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8899},"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":"43c6e24ac2bcc2d1963cd15bbfe825450a473384","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.1.6"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.27","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.2_1748607935971_0.6029133996170231","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@m2d/mermaid","version":"1.1.3","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.3","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"939ec767ce3015d91bfd77d887c050f7067f6103","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.3.tgz","fileCount":5,"integrity":"sha512-51HldwChnsA0SxkbXeERXyQ9A6/WwCLzdi73j32gXXIsW3cOva95dxQoYkNDOqvPJt/GHm7WnWJH73M1YCGz/w==","signatures":[{"sig":"MEQCIDgYsFFZLaCUKiOO55chGcNcJyzEitI7pic320gOZDmdAiA58upbbbJX6WldEWHOEuOTJhzggImgkuEAxCMY/6RJxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8900},"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":"05b860a42a168c0918aeb7ab989d37b42039754e","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.1.6"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.27","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.3_1748662749144_0.7445825258510381","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@m2d/mermaid","version":"1.1.4","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.4","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"3c51ca0942429f89f9c9fc7248aac857deaa6a2b","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.4.tgz","fileCount":5,"integrity":"sha512-EVjR4jhSPC+YAWfqC1fY6rmjpwWoIMtFYrxeoOb9VSDxAxOctfTKKv9chlg/JqhUBMM5Nds/yeqIDVx6IMPHhw==","signatures":[{"sig":"MEUCIQC2587BkSpUpG9gY59Uu5wf0aIGNvOTJD1Xnns3DBCzyQIgI/hF81hJi4858H5GOsJyUrE2J5RKqJjghQfyObwt/AU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11658},"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":"2915783da0c994c8e352f8990d8f774cd6fe44e3","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.1.4","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.29","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.4_1748787856341_0.6761009638168327","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@m2d/mermaid","version":"1.1.5","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.1.5","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"ca87eabdaf51067b7121a263441706020703f7c6","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.1.5.tgz","fileCount":5,"integrity":"sha512-yt5NGfk0r0Kaw0p3VS69e7dozrDmf1B7f0hyupV4XeFM4XOkDc4eseQ4gBbRf4JpqITkldlzB6vXeMRRXInhXw==","signatures":[{"sig":"MEUCIQDQ5RgvfR/oLal2lpuhLqdL+sAAhlQmsq7CoYxiD6RdDAIgfoHxTTkOYQVgXg2zC+9K4Bc1AalVAOYeCsyDWVtDk3c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11658},"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":"89186a3cccc020fde39c9ec925a1f2dfc964e5cd","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.2","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^22.15.30","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.2","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.1.5_1749206781737_0.4742430911027906","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@m2d/mermaid","version":"1.2.0","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.2.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"a31aabf407e95a66625aa040baa2f12d227dedba","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.2.0.tgz","fileCount":5,"integrity":"sha512-jeeWlgxLDKntMTF2ocntm7NStmJNde1B2nZ2r/J6uOkDfjWex5bM+sGJA2E7EzWvfZO8CA4tIKsH460wwmgHgw==","signatures":[{"sig":"MEYCIQCPLk+tnBkfgZTeDTM+sXWz5HEnh8Snoqs37za84wQ/uAIhAOfbM+019pURawfSflZLuf4LINhmE52+ig/YJFbXfxVJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12028},"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":"39a4f6f755fc16a4a99c9121c4b5bcf9cb13da3f","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.3","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^24.0.1","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.3","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.2.0_1749705933752_0.7456037169077216","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@m2d/mermaid","version":"1.2.1","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.2.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"d8ef18c09eacaf55b4685187dfcd0f431f8031a5","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.2.1.tgz","fileCount":5,"integrity":"sha512-DNqDofLSyYp+YIbYApxjb+OWpyZP6kqNr31tBDgIp+k5roA7wHGI6QfiCn1mpgphiR4meIeihOlIOUbo93p6/Q==","signatures":[{"sig":"MEYCIQCUlhqVh2rYYiaOAOfKarufF9iul8mSfe6wgnGpYUaU/gIhAJ5iPLKGfQwfpdY32gidgdGnmcz0mcPM/ESu8eA+E27r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12225},"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":"6f12c5fa5116790241e834e18c4e6227de61a64c","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.3","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^24.0.1","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.3","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.2.1_1749706287960_0.13462775956748185","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@m2d/mermaid","version":"1.2.2","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/mermaid@1.2.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/mermaid/#readme","bugs":{"url":"https://github.com/md2docx/mermaid/issues"},"dist":{"shasum":"88754426be2153da07e3b2425b72169d50c3ef6b","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.2.2.tgz","fileCount":5,"integrity":"sha512-UEz1BSJOp6i23UzME7yh5si/ndiMvuBvt3QLjOPj8ZGFfU6hf0/GdDi3SWl9pc9h0jvhzA/kXq03Tc1b2lKxnA==","signatures":[{"sig":"MEQCIEIj853BVKsUGoQSgxBy6WIpYNf91V5xL722r73dzqT8AiBf00OdUrUQo5U02Pc4ZDM+u5PCVrqPwTWkgsbTxM9ZIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmermaid@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12267},"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":"93a7a774e6e214a43db3b494a245aa84f9b8aa3f","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/mermaid.git","type":"git"},"_npmVersion":"10.8.2","description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"mermaid":"^11.6.0","@m2d/core":"^1.4.1"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.5.0","tsup":"^8.5.0","jsdom":"^26.1.0","vitest":"^3.2.3","unified":"^11.0.5","typescript":"^5.8.3","@types/node":"^24.0.1","remark-parse":"^11.0.0","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.3","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.2.2_1749706730418_0.9643964513448982","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@m2d/mermaid","version":"1.3.0","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/mermaid@1.3.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/mermaid/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"50c65baa452773b4f13e7ddf969228800b38ee3f","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.3.0.tgz","fileCount":7,"integrity":"sha512-8IdhWNnRJpjI8w3AaN3zSOjnG4sG788xD591+qhxChSJyAVTAYc1+aQa7XXCVStttTI5FZnngkrEgFjcXgIFPQ==","signatures":[{"sig":"MEYCIQDfMqOP/ol5mB5pLE5r7Mjna3SW3pLFLQStMvbnBXhWRgIhAMxzf7e4SQRoye6HrN+UYtzjrSjZrLjQHHFxpoatyZpf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDi3fDCk/y4vd5bOVcf3n3p4393jZHBj6SPURlIIRjw0QIgI8iYk8T0UUa8yVnOpf6+9d9vlVqAvejQ/+TLJWM8TxA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17220},"main":"./dist/index.js","forge":{"icon":"GitGraph","aliases":["@md2docx/mermaid","@mdast2docx/mermaid"],"description":"Mermaid to DOCX Plugin"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/mermaid"},"description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"dependencies":{"mermaid":"^12.2.0","@m2d/core":"1.8.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.12.0","tsup":"latest","unified":"^11.0.5","typescript":"latest","@types/node":"^26.6.5","remark-parse":"^11.0.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.3.0_1792489713722_0.8636304476802701","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@m2d/mermaid","version":"1.3.1","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/mermaid@1.3.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/mermaid/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"01b6cc12285caa3e530cb998155c546194d2e069","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.3.1.tgz","fileCount":7,"integrity":"sha512-Vvq/w24DKwch3h/pgdg4QkvaglMKU86Vyt+xYzHe8zMG9e7Nh01HXG78tTjylpW7AraUl4CBbo67u72sUU9shA==","signatures":[{"sig":"MEYCIQCWcMT5F7DUQr+Z4oaVjS+Vhc0poWd4/Nldk0QhF3mOoAIhAOQvPUKbxDexBkl45JCwA5+Ux3SwuDnSTlwEIe0G8S3W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFGAHMWVioij17RSZdi0BygqxowCN4MymmEsDkEPDFVoAiAxIY/26c5OTjW+B4FPGzhpgVu5Rf8oWv2nwS+0x1FO8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17227},"main":"./dist/index.js","forge":{"icon":"GitGraph","aliases":["@md2docx/mermaid","@mdast2docx/mermaid"],"description":"Mermaid to DOCX Plugin"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/mermaid"},"description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"dependencies":{"mermaid":"^12.2.0","@m2d/core":"1.8.1","@m2d/cache":"0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.12.0","tsup":"latest","unified":"^11.0.5","typescript":"latest","@types/node":"^26.6.5","remark-parse":"^11.0.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.3.1_1792625060466_0.6458838813562093","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@m2d/mermaid","version":"1.3.2","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/mermaid@1.3.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/mermaid/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"fd763d6e740695cd71b4bd4d8ae762e02fbe066d","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.3.2.tgz","fileCount":7,"integrity":"sha512-AWUUPQ4Dr/mgshFiyExW1VkAJw5v+kyfX+lgiSGpnV7dBirw86kete43RClPGQf+Jo7qe0FR7U8on0W4+qSNHw==","signatures":[{"sig":"MEUCIGaIkL1eI0OfZs8LmTtaeQI5tfBykNuCuD95FBLJ2hf6AiEAvByxUxr5R1WS8G6BdsDXygoxvuPAfm22EZO6KraPB/0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDNMB6TWvcx+Bbrto5p0UBgRhXJyXvf8uE1Fh5P07igBAiA6rwCAa0J9EI2FGrXFyXLYyFSRGwR9Oj/rs2SCtjPjYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17244},"main":"./dist/index.js","forge":{"icon":"GitGraph","aliases":["@md2docx/mermaid","@mdast2docx/mermaid"],"description":"Mermaid to DOCX Plugin"},"types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/mermaid"},"description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"sideEffects":false,"dependencies":{"mermaid":"^12.2.0","@m2d/core":"1.9.0","@m2d/cache":"0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.13.0","tsup":"latest","unified":"^11.0.5","typescript":"latest","@types/node":"^26.6.5","remark-parse":"^11.0.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/mermaid_1.3.2_1792912592325_0.5803191868324575","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"_id":"@m2d/mermaid@1.3.3","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"1b7314e67b0a56d70cf276924f182ac440429f46","tarball":"https://registry.npmjs.org/@m2d/mermaid/-/mermaid-1.3.3.tgz","fileCount":7,"integrity":"sha512-2IPznHkhFRf5uop09xotHQcqlpPBCkt6+yGbJyzEnSkirhY/TT+elTOqP473cIpqFovkUTp3qyZwWHIoxJfc4g==","signatures":[{"sig":"MEUCIBjbAEzMRIKHuRAPC1rQkqryMg9bgHu2+Nip/LzaKcXtAiEA1QkcFBbR2oH9xMEUYu/acFPJSZTEvdzvsRCYuxvrrg0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDHXMZ7tnmLk+DuZLem+5naGfExfMz0zTWv0Njey2dZZgIgJwA/iEBZB09qVbZ2Ce8M/WaamNMy9delJKbw09pIl38="}],"unpackedSize":17245},"main":"./dist/index.js","name":"@m2d/mermaid","forge":{"icon":"GitGraph","aliases":["@md2docx/mermaid","@mdast2docx/mermaid"],"description":"Mermaid to DOCX Plugin"},"types":"./dist/index.d.ts","author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","module":"./dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"funding":[{"url":"https://github.com/sponsors/md2docx","type":"github"},{"url":"https://github.com/sponsors/mayank1513","type":"github"}],"license":"MIT","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist"},"version":"1.3.3","_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/mermaid/README.md","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/mermaid"},"description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","directories":{},"maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"sideEffects":false,"dependencies":{"mermaid":"^12.2.0","@m2d/core":"1.10.0","@m2d/cache":"0.1.0"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.14.0","tsup":"latest","unified":"^11.0.5","typescript":"latest","@types/node":"^26.6.5","remark-parse":"^11.0.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mermaid_1.3.3_1794229438579_0.964858285321202"}}},"time":{"created":"2025-04-06T16:08:07.789Z","modified":"2026-11-09T13:03:58.914Z","0.0.1-alpha.0":"2025-04-06T16:08:08.053Z","0.0.1":"2025-04-07T16:30:15.330Z","0.0.2":"2025-04-07T16:43:12.331Z","0.0.3":"2025-04-12T06:47:57.210Z","1.0.0":"2025-05-19T07:57:16.227Z","1.0.1":"2025-05-19T10:58:38.133Z","1.1.0":"2025-05-30T10:02:27.841Z","1.1.1":"2025-05-30T10:46:26.399Z","1.1.2":"2025-05-30T12:25:36.132Z","1.1.3":"2025-05-31T03:39:09.352Z","1.1.4":"2025-06-01T14:24:16.546Z","1.1.5":"2025-06-06T10:46:21.916Z","1.2.0":"2025-06-12T05:25:33.926Z","1.2.1":"2025-06-12T05:31:28.139Z","1.2.2":"2025-06-12T05:38:50.587Z","1.3.0":"2026-10-20T09:48:33.822Z","1.3.1":"2026-10-21T23:24:20.549Z","1.3.2":"2026-10-25T07:16:32.446Z","1.3.3":"2026-11-09T13:03:58.700Z"},"bugs":"https://github.com/md2docx/md2docx/issues","author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","homepage":"https://github.com/md2docx/md2docx/blob/main/packages/mermaid/README.md","keywords":["mermaid","mindmap","markdown","mdast","mdast-to-docx","markdown-to-docx","md2docx","mdast2docx","docx","docx-generator","document-generation","document-conversion","svg-diagram","code-block","diagram-plugin","remark-plugin","unified-plugin","typescript","plugin","open-source","m2d","mayank1513"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/mermaid"},"description":"Enhance Markdown-to-DOCX conversion with Mermaid and mindmap diagram support using this plugin for @m2d/core. Converts code blocks into SVG images with customizable Mermaid config.","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"readme":"# @m2d/mermaid <img src=\"https://raw.githubusercontent.com/mayank1513/mayank1513/main/popper.png\" style=\"height: 40px\"/>\n\n<p className=\"flex gap-2\">\n  <a href=\"https://github.com/md2docx/md2docx/actions/workflows/ci.yml\" rel=\"noopener noreferrer\">\n    <img alt=\"CI\" src=\"https://github.com/md2docx/md2docx/actions/workflows/ci.yml/badge.svg\" />\n  </a>\n  <a href=\"https://codecov.io/gh/md2docx/md2docx/tree/main/packages/@m2d/mermaid\" rel=\"noopener noreferrer\">\n    <img alt=\"codecov\" src=\"https://codecov.io/gh/md2docx/md2docx/graph/badge.svg?flag=@m2d/mermaid\" />\n  </a> \n  <a href=\"https://npmjs.com/package/@m2d/mermaid\" rel=\"noopener noreferrer\">\n    <img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@m2d/mermaid\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/mermaid\" rel=\"noopener noreferrer\">\n    <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/d18m/@m2d/mermaid\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/mermaid\" rel=\"noopener noreferrer\">\n    <img alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/@m2d/mermaid\" />\n  </a>\n  <img alt=\"license\" src=\"https://img.shields.io/npm/l/@m2d/mermaid\" />\n</p>\n\n> @m2d/mermaid: Client-side Mermaid diagram plugin for `@m2d/core`. Transforms `mermaid`, `mmd`, and `mindmap` code blocks into responsive inline SVGs with auto-repair and caching.\n\n---\n\n## ✨ Features\n\n- 📊 **Comprehensive Diagram Support**: Supports all standard Mermaid diagram types (flowcharts, sequence, class, state, ER, Gantt, pie, gitGraph, mindmaps, quadrant charts).\n- 🛠️ **Built-In Self-Healing (`defaultMermaidFixer`)**: Automatically repairs common syntax errors such as unquoted colons, slashes, or special characters in node labels.\n- 🎨 **Full Theme Customization**: Compatible with all official Mermaid themes (`default`, `neutral`, `forest`, `dark`, `base`) and custom theme variables.\n- 💾 **IndexedDB & Memory Caching**: Eliminates expensive repeated diagram compilation across page reloads.\n- 🛡️ **Graceful Fallbacks**: Preserves diagram source so downstream rasterizers (`@m2d/image`) can cleanly render collapsible code blocks if rendering fails.\n\n> 💡 **Looking for server-side (Node.js) Mermaid rendering?** Use [`@m2d/mermaid-node`](https://npmjs.com/package/@m2d/mermaid-node) powered by `beautiful-mermaid` (zero DOM / browser dependencies).\n\n---\n\n## 📦 Installation\n\n```bash\n$ pnpm add @m2d/mermaid @m2d/image @m2d/core docx\n```\n\n**_or_**\n\n```bash\n$ npm install @m2d/mermaid @m2d/image @m2d/core docx\n```\n\n---\n\n## 🚀 Quick Start\n\n```typescript\nimport { toDocx } from \"@m2d/core\";\nimport { mermaidPlugin } from \"@m2d/mermaid\";\nimport { imagePlugin } from \"@m2d/image\";\nimport remarkParse from \"remark-parse\";\nimport { unified } from \"unified\";\n\nconst markdown = `\n# Architecture Overview\n\n\\`\\`\\`mermaid\ngraph TD\n  Client[Web Client] --> Gateway[API Gateway]\n  Gateway --> Service[Core Service]\n\\`\\`\\`\n`;\n\nconst mdast = unified().use(remarkParse).parse(markdown);\n\nconst docxBlob = await toDocx(\n  mdast,\n  {},\n  {\n    plugins: [\n      mermaidPlugin(), // 1. Converts mermaid code blocks into SVG nodes\n      imagePlugin(), // 2. Rasterizes SVGs into OpenXML DrawingML runs\n    ],\n  },\n);\n```\n\n> ⚠️ **Plugin Ordering**: Place `mermaidPlugin()` **before** `imagePlugin()` in the `plugins` array. `mermaidPlugin` generates the SVG nodes that `imagePlugin` subsequently compiles into Word images.\n\n---\n\n## ⚙️ Plugin Options\n\n```typescript\nexport interface IMermaidPluginOptions {\n  /** Mermaid configuration object passed to mermaid.initialize() */\n  mermaidConfig?: MermaidConfig;\n\n  /**\n   * Optional custom fixer function called when initial rendering fails.\n   * If omitted, uses the built-in defaultMermaidFixer.\n   */\n  fixMermaid?: (code: string, error: Error) => string;\n\n  /** In-memory cache object for sharing across instances */\n  cache?: Record<string, Promise<unknown>>;\n\n  /** Duration in minutes before cached records expire (default: 30 days) */\n  maxAgeMinutes?: number;\n}\n```\n\n---\n\n## 📚 Deep Dive Guides\n\n- 📊 **[Diagram Syntax & Theming Guide](./docs/diagram-syntax-and-theming.mdx)**: Comprehensive list of supported diagram types and custom theme configurations.\n- 🛠️ **[Auto-Fixing & Diagram Fallbacks Guide](./docs/auto-fixing-and-fallbacks.mdx)**: Built-in syntax healing and graceful Word code block fallbacks.\n\n---\n\n## License\n\nThis library is licensed under the MIT open-source license.\n\n<hr />\n\n<p align=\"center\">with 💖 by <a href=\"https://mayankchaudhari.com\" target=\"_blank\">Mayank Kumar Chaudhari</a></p>\n","readmeFilename":""}