{"_id":"@m2d/math","_rev":"11-2d37fba1ce5da941341ccb2ae4ab7b9b","name":"@m2d/math","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.0":{"name":"@m2d/math","version":"0.0.0","keywords":["automation","docx","document generator","export","latex","markdown","markdown-to-docx","math","math expressions","math plugin","mdast","mdast2docx","ms-word","open-source","remark","rich text","seamless integration","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/math","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"4948ac81e57d8f0d312c0c116a30862ceb272920","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.0.tgz","fileCount":5,"integrity":"sha512-EXcGiC0pYsKSqeNyJjcklKkUM+ZwR/MizmcRRcm8UJd9NyiGwR/3jNJ8b0Xkff/cEYqAjI3G4uEFvHC88HRgyw==","signatures":[{"sig":"MEQCIFU9lhRs4pWyb1HNZqNLkFZH+tBmv9yydfc3a1OJmkEiAiAWvhMrwgQY01KWOzlkSK7LPN8+i1HC7Z9oKyli/k3Qig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16438},"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":"589082076cc78818defcacde47f8db518faa717f","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":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"latex-math":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.9","@m2d/core":"workspace:*","typescript":"^5.8.2","@types/node":"^22.13.11","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.0_1742734519368_0.7125971866881327","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@m2d/math","version":"0.0.1","keywords":["automation","docx","document generator","export","latex","markdown","markdown-to-docx","math","math expressions","math plugin","mdast","mdast2docx","ms-word","open-source","remark","rich text","seamless integration","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/math","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"eac3bb54671a760dd34ac219bd8997dd505af6b7","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.1.tgz","fileCount":2,"integrity":"sha512-p4ySsaSaFNGuaVPrjKi/9wpIPqhDpMGVjko0yJrXtPLbHNWTw0yD7CjkS8hqNL6BfvnHXgsezefrMghaXZSvVg==","signatures":[{"sig":"MEUCID1QAOFPFJl4uANFG3Mn5t9Xcb8qUHzxBpGBG5te8brMAiEAg5oW1LQlSnuESYC8Rbh2VIAsSxeEkPFh9tPTrCtG6W4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5209},"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":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"latex-math":"^0.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.9","@m2d/core":"latest","typescript":"^5.8.2","@types/node":"^22.13.12","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.1_1742816830892_0.491644732329656","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@m2d/math","version":"0.0.2","keywords":["automation","docx","document generator","export","latex","markdown","markdown-to-docx","math","math expressions","math plugin","mdast","mdast2docx","ms-word","open-source","remark","rich text","seamless integration","text-processing","typescript","unified","web-development"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/tiny-md/mdast2docx/tree/main/m2d/math","bugs":{"url":"https://github.com/tiny-md/mdast2docx/issues"},"dist":{"shasum":"308bdae2b134b2d9be7186b822a1cd0e137c0a62","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.2.tgz","fileCount":5,"integrity":"sha512-IxI30xsu2s/TeWwb1uNvOxyq7Lw1vsoYuhkdbedwtQG/kKzMLFIki9La6Ns0pTncax83MkHXgKiF6zZhB3n4bg==","signatures":[{"sig":"MEUCIBMZzxPufXmgZ8HjSd/a4wGac+ceCeJmcJivyZ7rvB+hAiEAoFGznQFMwMGe+dVcWSfAEzKMi4PVzCq5m2V1J9UWBy0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16503},"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":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"@m2d/core":"workspace:*","latex-math":"^0.0.2"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","vitest":"^3.0.9","typescript":"^5.8.2","@types/node":"^22.13.13","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","vite-tsconfig-paths":"^5.1.4","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.2_1742822110380_0.5105783376673425","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@m2d/math","version":"0.0.3","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.3","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/math/#readme","bugs":{"url":"https://github.com/md2docx/math/issues"},"dist":{"shasum":"0e330aa1fcddf1873446d637b6eb868cc93cf25b","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.3.tgz","fileCount":5,"integrity":"sha512-n69iXWOiWCnkzxCGg1bZLM6ZcHJGswSh/FP5tgx70kKtY/vTd/TfhsCp8uJ+LAiqIUW9GloYb+UplNDyC9gqXQ==","signatures":[{"sig":"MEUCIQD5or1hC2O5uspn5YExKgHMR9aHb1YKzZfpm9wuIYfeSAIgQstcZGEIoeh2SGzFYq0pu7snOlIQHmeZNx8yRxFbVJY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17052},"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":"ab75343b5e2980545baf248753f4f52ab27df181","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/math.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"@m2d/core":"^0.0.3","latex-math":"^0.0.2"},"_hasShrinkwrap":false,"devDependencies":{"docx":"^9.3.0","tsup":"^8.4.0","jsdom":"^26.0.0","vitest":"^3.0.9","unified":"^11.0.5","typescript":"^5.8.2","@types/node":"^22.13.12","@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:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.3_1742955959653_0.7198240242152882","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@m2d/math","version":"0.0.4","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.4","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/math/#readme","bugs":{"url":"https://github.com/md2docx/math/issues"},"dist":{"shasum":"902631774f585bfb5a9297e1e6d2bf3e89691621","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.4.tgz","fileCount":5,"integrity":"sha512-G81IJKch8SQwK9R4HIz5ocnmfNcxwBTWbSlQbmYXITOZgkK0WbysNrfGChxVgqUlC0Oa5sNfwz6erDN1Z2sImQ==","signatures":[{"sig":"MEUCIQDnNps/zDsW1L1XzWoXFP1/Q5DE80VGwT4rF/YzqvDSswIga+5eiPLMMKni7GA+tWGhMFyIgAvX8wGjcQnKwSv/vTc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17050},"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":"032162570744c0409925f0963846820b84148276","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/math.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.0","dependencies":{"@m2d/core":"^0.0.4","latex-math":"^0.0.2"},"_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","@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:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.4_1744127700468_0.1393328961601501","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@m2d/math","version":"0.0.5","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.5","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/math/#readme","bugs":{"url":"https://github.com/md2docx/math/issues"},"dist":{"shasum":"55d4c41abed74a80f60c3efaa0ff2ab0660ffad5","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.5.tgz","fileCount":5,"integrity":"sha512-PH/Z08C1zDYCjMPePIdt3aGS8I+JmL8vWlu0u6eAFgYGv7kiMvSJmve2tHAV5BToy/E4Fr+fXmxEmw2b29zyyw==","signatures":[{"sig":"MEYCIQDaVpXqkQFSq88PMDvRwW/Rk+WsfvMS96PBnzFRokGIhwIhAKgo/78aNmvYXflDXkgUta0LP3gRVBJeeXZE6JKRsUrJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17029},"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":"0fd5a7d053c11fd7ced0d143fe969bcd02bd1f1c","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/math.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.1","dependencies":{"@m2d/core":"^1.0.1","latex-math":"^0.0.2"},"_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.19","@types/react":"^19.1.4","remark-parse":"^11.0.0","@types/react-dom":"^19.1.5","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.1.4","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.5_1747713644448_0.14128524173072843","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@m2d/math","version":"0.0.6","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":{"url":"https://mayank-chaudhari.vercel.app","name":"Mayank Kumar Chaudhari"},"license":"MPL-2.0","_id":"@m2d/math@0.0.6","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/math/#readme","bugs":{"url":"https://github.com/md2docx/math/issues"},"dist":{"shasum":"2a21641309b987b8affeeba6b9b9956692642d58","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.0.6.tgz","fileCount":5,"integrity":"sha512-KEmCT6UXUiBZVt7Rp6XDq4nPjrs1LM7J3bJA8/MphyEaIRL8mYyUC/3pKVqzNd4Pf9+/DwarWdON1VLwA6wKsg==","signatures":[{"sig":"MEYCIQCe3sC1ub2yD5u/1ewSgvh4MvVvOJ54mhZgzlf5C+atYwIhAOI4fyYaOaJRwEZaT7xYKF7JT7sN+JCRk6c6oLQouowq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@m2d%2fmath@0.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17059},"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":"5ebe06c10f07ae842c7b0ce9c30b45d15a9a63da","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/math.git","type":"git"},"_npmVersion":"10.8.2","description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.2","dependencies":{"@m2d/core":"^1.3.4","latex-math":"^0.0.2"},"_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","@types/react":"^19.1.6","remark-parse":"^11.0.0","@types/react-dom":"^19.1.6","esbuild-plugin-rdi":"^0.0.0","@repo/eslint-config":"workspace:*","@vitest/coverage-v8":"^3.2.2","vite-tsconfig-paths":"^5.1.4","@vitejs/plugin-react":"^4.5.1","@testing-library/react":"^16.3.0","@repo/typescript-config":"workspace:*","@unified-latex/unified-latex-types":"^1.8.0"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.0.6_1750131124326_0.8461174059115042","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@m2d/math","version":"0.1.0","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/math@0.1.0","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/math/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"97e5809cdafeff738ea0206569b3a0e91c6c183e","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.1.0.tgz","fileCount":7,"integrity":"sha512-duGKYoZX2e5r+24DQs4B9/9XQCMnwTp0AYUoG+s9ToThjnFWDjgF54J/T0jAFGPw+dbr61/dNCxmsxbC+PD6yQ==","signatures":[{"sig":"MEYCIQDaplKZluaidFCjbGU0v9awW0VQYGg2n2HnIjlNsLcsYwIhANw9uID5Foq6BjiqnyJdXwz0y/1tRmvWAZJAiOzGP6VG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCID3zsV1ri9e2ZvwsMmEJQ6nJcThW29DagcVG+cg8mYPIAiBexyD79T7/sfRlUziTY+bdpDC6BpPjnvDO4hkqMGmrqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22676},"main":"./dist/index.js","forge":{"icon":"Sigma","aliases":["@md2docx/math","@mdast2docx/math"],"description":"LaTeX Math to DOCX"},"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/math"},"description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"dependencies":{"@m2d/core":"1.8.0","latex-math":"^0.0.2"},"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-math":"^6.0.0","remark-parse":"^11.0.0","@unified-latex/unified-latex-types":"^1.8.4"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.1.0_1792489611012_0.9578563737211507","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@m2d/math","version":"0.1.1","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/math@0.1.1","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/math/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"8f6cf01ae68c9fe39ae33c75470c513cf1b35763","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.1.1.tgz","fileCount":7,"integrity":"sha512-nDF/SnZaN3F/8TlTglKJr7/cS3f5ZaDPdPIrfLFGTRatearVNB4ngZ3JfOvPMDfX2nhFQiqraaZ0Rk9aNDyh3Q==","signatures":[{"sig":"MEUCIQDMlcSztjbtiCOQaNiIFxeDAhTgIXw/By3jWEEOxI69EgIger9UgH+CBMLu/vvQ6D8IkUq9j1JXE6DjUxkGyajVu9s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEkn+YNfxSn33h5Y/QQlz8AZ7IeNHFsjaUmpCV9nwYG/AiBP16QQ7oENaZblDnvs97CJtLoFRUZpbI2x8mCTn+JeGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22676},"main":"./dist/index.js","forge":{"icon":"Sigma","aliases":["@md2docx/math","@mdast2docx/math"],"description":"LaTeX Math to DOCX"},"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/math"},"description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"dependencies":{"@m2d/core":"1.8.1","latex-math":"^0.0.2"},"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-math":"^6.0.0","remark-parse":"^11.0.0","@unified-latex/unified-latex-types":"^1.8.4"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.1.1_1792624786213_0.7262901578699568","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@m2d/math","version":"0.1.2","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"author":"Mayank Kumar Chaudhari <https://mayankchaudhari.com>","license":"MIT","_id":"@m2d/math@0.1.2","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/math/README.md","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"91276f3721aaf7d7a8e75ed443ccb78595c7f7a8","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.1.2.tgz","fileCount":7,"integrity":"sha512-Schy6jIoSiE8F2P9Edov4jDoRMaDW511FNC/Zox8nfxRLgmSWy2vH6ja1P4MdHFwwi1gne7K6ub4t1t4hp7c6g==","signatures":[{"sig":"MEUCIGumC9z5iqPW08p/snewuYYGdlYbQxfAAtNCyLN68rirAiEAwLgM3+Ye2kIxVhexi9uujXf7PIJTltxJIFF1Kktgvh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDU6ACyWRh/wYiDfcnWqVKBn5N8Pj8RKnQ5oOxa6jMC6gIgByzO/OhNk8XwBBVRN8/KA/d1Sa2elqZZTiS1SWsw1ik=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22689},"main":"./dist/index.js","forge":{"icon":"Sigma","aliases":["@md2docx/math","@mdast2docx/math"],"description":"LaTeX Math to DOCX"},"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/math"},"description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"sideEffects":false,"dependencies":{"@m2d/core":"1.9.0","latex-math":"^0.0.2"},"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-math":"^6.0.0","remark-parse":"^11.0.0","@unified-latex/unified-latex-types":"^1.8.4"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/math_0.1.2_1792912491259_0.7693210199938323","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"_id":"@m2d/math@0.1.3","bugs":"https://github.com/md2docx/md2docx/issues","dist":{"shasum":"ba88ec5dd4554477791d1dd048a7099b611e14cc","tarball":"https://registry.npmjs.org/@m2d/math/-/math-0.1.3.tgz","fileCount":7,"integrity":"sha512-7pwKE3gD0rgwbAi9wSWBCGWOVH3aSnzoE3c0iiIbMHN4gKA9e/RSAuOp50IItSolgnVuwMCNJk6H52YrT8bLuA==","signatures":[{"sig":"MEUCIGe/zfA5Xfs/iCPxl8q9DiriFyi7vzk44i7F3sydnggeAiEA0DTxrK36UXGNgTUfRCSA84TIRmdW9Hw1b4m38fRG7S8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCZd/sak8BGcdj4/cnPcEiBxmAKw/6qJFZ4xap0G540ewIgWrhpSw5BrzvNvVIr3LsX9phaofSL+LwmndoNVukzRI0="}],"unpackedSize":25868},"main":"./dist/index.js","name":"@m2d/math","forge":{"icon":"Sigma","aliases":["@md2docx/math","@mdast2docx/math"],"description":"LaTeX Math to DOCX"},"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":"0.1.3","_npmUser":{"name":"mayank1513","email":"mayank.srmu@gmail.com"},"homepage":"https://github.com/md2docx/md2docx/blob/main/packages/math/README.md","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/math"},"description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","directories":{},"maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"sideEffects":false,"dependencies":{"@m2d/core":"1.10.0","latex-math":"^0.0.2"},"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-math":"^6.0.0","remark-parse":"^11.0.0","@unified-latex/unified-latex-types":"^1.8.4"},"peerDependencies":{"docx":"^9.3.0","remark-math":"^6.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/math_0.1.3_1794229434543_0.3553040843157169"}}},"time":{"created":"2025-03-23T12:55:19.308Z","modified":"2026-11-09T13:03:54.813Z","0.0.0":"2025-03-23T12:55:19.526Z","0.0.1":"2025-03-24T11:47:11.075Z","0.0.2":"2025-03-24T13:15:10.602Z","0.0.3":"2025-03-26T02:25:59.830Z","0.0.4":"2025-04-08T15:55:00.660Z","0.0.5":"2025-05-20T04:00:44.643Z","0.0.6":"2025-06-17T03:32:04.493Z","0.1.0":"2026-10-20T09:46:51.100Z","0.1.1":"2026-10-21T23:19:46.301Z","0.1.2":"2026-10-25T07:14:51.353Z","0.1.3":"2026-11-09T13:03:54.635Z"},"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/math/README.md","keywords":["math","latex","math expressions","math plugin","markdown-to-docx","mdast2docx","markdown","mdast","docx","ms-word","text-processing","export","document generator","typescript","remark","unified","open-source","seamless integration","automation","web-development","rich text","mayank1513"],"repository":{"url":"https://github.com/md2docx/md2docx","type":"git","directory":"packages/math"},"description":"Plugin to convert mathematical expressions in Markdown (MDAST) to DOCX using LaTeX-style syntax. Integrates seamlessly with mdast2docx.","maintainers":[{"name":"mayank1513","email":"mayank.srmu@gmail.com"}],"readme":"# @m2d/math <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/math\" rel=\"noopener noreferrer\">\n    <img alt=\"codecov\" src=\"https://codecov.io/gh/md2docx/md2docx/graph/badge.svg?flag=@m2d/math\" />\n  </a> \n  <a href=\"https://npmjs.com/package/@m2d/math\" rel=\"noopener noreferrer\">\n    <img alt=\"npm version\" src=\"https://img.shields.io/npm/v/@m2d/math\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/math\" rel=\"noopener noreferrer\">\n    <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/d18m/@m2d/math\" />\n  </a>\n  <a href=\"https://npmjs.com/package/@m2d/math\" rel=\"noopener noreferrer\">\n    <img alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/@m2d/math\" />\n  </a>\n  <img alt=\"license\" src=\"https://img.shields.io/npm/l/@m2d/math\" />\n</p>\n\n> @m2d/math: LaTeX Math to Word DOCX plugin for `@m2d/core`. Transforms inline and block math into native editable Word OpenXML equations.\n\n---\n\n## ✨ Features\n\n- 📐 **Native Word Equations**: Converts LaTeX math into native `docx.Math` structures (`MathRun`, `MathFraction`, `MathRadical`, `MathSuperScript`, `MathSubScript`) — completely editable in Microsoft Word with crisp vector rendering.\n- 🔣 **Rich Mathematical Macros**: Comprehensive support for fractions (`\\frac`), roots (`\\sqrt`), superscripts (`^`), subscripts (`_`), summations (`\\sum`), integrals (`\\int`), products (`\\prod`), Greek letters, and standard mathematical relations.\n- 🛡️ **Delimiter Boundary Guards**: Protects against runaway parsing caused by unescaped currency symbols or unclosed delimiters by checking for structural markdown markers.\n- ⚙️ **Flexible Error Modes**: Choose between styled inline/block warning badges (`warn`), raw monospace code fallbacks (`raw`), or strict pipeline errors (`throw`).\n- ⚡ **Lightweight & Fast**: Zero browser or heavy rendering engine overhead — converts LaTeX AST to Word OpenXML in pure TypeScript.\n\n---\n\n## 📦 Installation\n\n```bash\n$ pnpm add @m2d/math remark-math @m2d/core docx\n```\n\n**_or_**\n\n```bash\n$ npm install @m2d/math remark-math @m2d/core docx\n```\n\n**_or_**\n\n```bash\n$ yarn add @m2d/math remark-math @m2d/core docx\n```\n\n---\n\n## 🚀 Quick Start\n\n```typescript\nimport { toDocx } from \"@m2d/core\";\nimport { mathPlugin } from \"@m2d/math\";\nimport remarkMath from \"remark-math\";\nimport remarkParse from \"remark-parse\";\nimport { unified } from \"unified\";\n\nconst markdown = `\n# Physics Notes\n\nEinstein's mass-energy equivalence is expressed as $E = mc^2$.\n\nA quadratic formula:\n\n$$\nx = \\\\frac{-b \\\\pm \\\\sqrt{b^2 - 4ac}}{2a}\n$$\n`;\n\n// 1. Parse markdown with remark-math to generate math AST nodes\nconst mdast = unified().use(remarkParse).use(remarkMath).parse(markdown);\n\n// 2. Convert to DOCX with the math plugin\nconst docxBlob = await toDocx(\n  mdast,\n  {},\n  {\n    plugins: [mathPlugin()],\n  },\n);\n```\n\n---\n\n## ⚙️ Plugin Options\n\n```typescript\nexport interface IMathPluginOptions {\n  /**\n   * Error handling strategy when LaTeX parsing fails or runaway syntax is detected.\n   * - \"warn\": Emits a styled warning text badge: `⚠️ [Math Syntax Error: ...]`\n   * - \"raw\": Emits the raw formula string as monospace code text\n   * - \"throw\": Re-throws the underlying parse error\n   * @default \"warn\"\n   */\n  errorMode?: \"warn\" | \"raw\" | \"throw\";\n\n  /**\n   * Maximum character length allowed for inline equations.\n   * Prevents runaway AST nodes when unclosed dollar signs occur.\n   * @default 1000\n   */\n  maxInlineLength?: number;\n}\n```\n\n---\n\n## 📚 Deep Dive Guides\n\n- 🔣 **[LaTeX Syntax & Symbols Guide](./docs/latex-syntax-and-symbols.mdx)**: Detailed documentation of supported operators, fractions, radicals, and Greek symbols.\n- 🛡️ **[Resiliency & Error Modes Guide](./docs/resiliency-and-error-modes.mdx)**: Error handling strategies, delimiter boundary protection, and runaway length guards.\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":""}